Version 1

This commit is contained in:
2026-03-25 18:06:22 +00:00
parent 9614300e09
commit 895e9f721e
+26
View File
@@ -0,0 +1,26 @@
services:
postgresql17:
image: postgres:17
container_name: postgresql17
restart: unless-stopped
environment:
TZ: Europe/Berlin
POSTGRES_USER: mailarchiver
POSTGRES_DB: mailarchiver
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
PGDATA: /var/lib/postgresql/data
volumes:
- /mnt/user/appdata/postgresql17:/var/lib/postgresql/data
- /mnt/user/appdata/secrets/postgres_password.txt:/run/secrets/postgres_password:ro
networks:
- backend_net
security_opt:
- no-new-privileges:true
networks:
backend_net:
external: true