Compare commits

..

2 Commits

Author SHA1 Message Date
joeac 1304c5180f Merge branch 'main' of https://git.joeac.net/joeac/joeac.net 2026-06-25 17:52:13 +01:00
joeac c3cabed6e7 db is g+rw in http.Dockerfile 2026-06-25 17:51:59 +01:00
3 changed files with 4 additions and 7 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ services:
context: .
dockerfile: smtp.Dockerfile
args:
LOCAL_SMTP_PORT: 2500
LOCAL_SMTP_PORT: $LOCAL_SMTP_PORT
env_file:
- .env
environment:
LOCAL_SMTP_PORT: 2500
LOCAL_SMTP_PASSWORD: smtp
SMTP_PORT: $LOCAL_SMTP_PORT
SMTP_PASSWORD: $LOCAL_SMTP_PORT
REMOTE_SMTP_PASSWORD_FILE: /run/secrets/remote_smtp_password
secrets:
- remote_smtp_password
+1 -1
View File
@@ -7,6 +7,6 @@ COPY http/php-fpm.conf /etc/php85/php-fpm.d/joeac.net-http_pool.conf
COPY http/nginx.conf /etc/nginx/nginx.conf
CMD mkdir -p "$(dirname "$DB_PATH")" \
&& touch $DB_PATH \
&& chmod -R o+w "$(dirname "$DB_PATH")" \
&& chmod -R g+rw "$(dirname "$DB_PATH")" \
&& php-fpm85 \
&& nginx -g "daemon off;"
-3
View File
@@ -1,7 +1,4 @@
FROM git.joeac.net/joeac/armv7/msmtp:1.8.32-alpine3.23
ARG LOCAL_SMTP_PORT
EXPOSE $LOCAL_SMTP_PORT
ENV SMTP_PORT=${LOCAL_SMTP_PORT} \
SMTP_USER=${LOCAL_SMTP_USER} \
SMTP_PASSWORD=${LOCAL_SMTP_PASSWORD}
COPY smtp/.msmtprc ./