fix
This commit is contained in:
2
.env
2
.env
@@ -10,7 +10,7 @@ TZ=Europe/Rome
|
|||||||
|
|
||||||
# Email Configuration (opzionale - per notifiche e reset password)
|
# Email Configuration (opzionale - per notifiche e reset password)
|
||||||
MAILER_ENABLED=1
|
MAILER_ENABLED=1
|
||||||
MAILER_HOST=smtp.google.com
|
MAILER_HOST=smtp.gmail.com
|
||||||
MAILER_PORT=587
|
MAILER_PORT=587
|
||||||
MAILER_SECURITY=tls
|
MAILER_SECURITY=tls
|
||||||
MAILER_AUTH_USER=pyco.networking@gmail.com
|
MAILER_AUTH_USER=pyco.networking@gmail.com
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
joplin-db:
|
joplin-db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16.11-alpine
|
||||||
container_name: joplin-db
|
container_name: joplin-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -9,10 +9,11 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-Europe/Rome}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_DB=${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
|
- POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256
|
||||||
volumes:
|
volumes:
|
||||||
- joplin-db-data:/var/lib/postgresql/data
|
- joplin-db-data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
@@ -33,7 +34,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${JOPLIN_PORT}:22300"
|
- "${JOPLIN_PORT}:22300"
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ}
|
- TZ=${TZ:-Europe/Rome}
|
||||||
- APP_PORT=22300
|
- APP_PORT=22300
|
||||||
- APP_BASE_URL=${APP_BASE_URL}
|
- APP_BASE_URL=${APP_BASE_URL}
|
||||||
- DB_CLIENT=pg
|
- DB_CLIENT=pg
|
||||||
|
|||||||
Reference in New Issue
Block a user