Compare commits

...

2 Commits

Author SHA1 Message Date
joeac b47b670d94 uses crond container in gemini.Dockerfile 2026-06-22 19:01:46 +01:00
joeac 7aa8403b70 adds stuff for http to example.env 2026-06-22 19:01:21 +01:00
2 changed files with 23 additions and 7 deletions
+22
View File
@@ -1,7 +1,16 @@
# The hostname to use for the local SMTP server
LOCAL_SMTP_HOST=
# The port to use for the local SMTP server
LOCAL_SMTP_PORT=
# The username for authenticating to the local SMTP server # The username for authenticating to the local SMTP server
# Recommended to be the same as REMOTE_SMTP_USER, else the remote may reject it # Recommended to be the same as REMOTE_SMTP_USER, else the remote may reject it
LOCAL_SMTP_USER= LOCAL_SMTP_USER=
# The password for authenticating to the local SMTP server
LOCAL_SMTP_PASSWORD=
# The envelope-from used by the local SMTP server # The envelope-from used by the local SMTP server
# Theoretically should be "LOCAL_SMTP_FROM_NAME <LOCAL_SMTP_FROM>", but in # Theoretically should be "LOCAL_SMTP_FROM_NAME <LOCAL_SMTP_FROM>", but in
# practice this seems to cause bugs, while setting it to LOCAL_SMTP_FROM works # practice this seems to cause bugs, while setting it to LOCAL_SMTP_FROM works
@@ -26,3 +35,16 @@ REMOTE_SMTP_USER=
# The email address where contact emails will be sent # The email address where contact emails will be sent
CONTACT_MAILBOX= CONTACT_MAILBOX=
# The name to associate with the contact mailbox
CONTACT_MAILBOX_NAME=
# When this 24-hour limit is reached, the website will no longer
# send emails to the contact mailbox
MAX_DAILY_EMAILS=
# The scheme part of the URI to the website database
DB_SCHEME=
# The path part of the URI to the website database
DB_PATH=
+1 -7
View File
@@ -2,14 +2,8 @@ FROM git.joeac.net/joeac/armv7/agate:3.3.20-alpine3.23 AS agate
FROM git.joeac.net/joeac/armv7/comitium:1.8.2-alpine3.23 AS comitium FROM git.joeac.net/joeac/armv7/comitium:1.8.2-alpine3.23 AS comitium
FROM alpine:3.23 AS final FROM git.joeac.net/joeac/armv7/crond:1.37.0-alpine3.23 AS final
# bash is needed to run the build scripts
# busybox-openrc provides rc-service, which runs crond
# gcc is a dependency for agate
# make is needed to run the Makefile
RUN apk --no-cache add bash busybox-openrc gcc make
RUN rc-update add crond
COPY --from=agate /root/.cargo/bin/agate /usr/local/bin/agate COPY --from=agate /root/.cargo/bin/agate /usr/local/bin/agate
COPY --from=comitium /usr/local/bin/comitium /usr/local/bin/comitium COPY --from=comitium /usr/local/bin/comitium /usr/local/bin/comitium