This commit is contained in:
Francesco Picone
2025-12-29 17:02:27 +01:00
parent 5f42abed74
commit a5b4e6c233
2 changed files with 5 additions and 4 deletions

2
.env
View File

@@ -10,7 +10,7 @@ TZ=Europe/Rome
# Email Configuration (opzionale - per notifiche e reset password)
MAILER_ENABLED=1
MAILER_HOST=smtp.google.com
MAILER_HOST=smtp.gmail.com
MAILER_PORT=587
MAILER_SECURITY=tls
MAILER_AUTH_USER=pyco.networking@gmail.com

View File

@@ -1,6 +1,6 @@
services:
joplin-db:
image: postgres:16-alpine
image: postgres:16.11-alpine
container_name: joplin-db
restart: unless-stopped
healthcheck:
@@ -9,10 +9,11 @@ services:
timeout: 5s
retries: 5
environment:
- TZ=${TZ:-UTC}
- TZ=${TZ:-Europe/Rome}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256
volumes:
- joplin-db-data:/var/lib/postgresql/data
networks:
@@ -33,7 +34,7 @@ services:
ports:
- "${JOPLIN_PORT}:22300"
environment:
- TZ=${TZ}
- TZ=${TZ:-Europe/Rome}
- APP_PORT=22300
- APP_BASE_URL=${APP_BASE_URL}
- DB_CLIENT=pg