Refactor docker-compose.yml to update dozzle service configuration

This commit is contained in:
2024-05-28 19:51:30 +08:00
parent 6348bb0fbb
commit b64e4984af
4 changed files with 846 additions and 3 deletions
+2 -1
View File
@@ -35,9 +35,10 @@ services:
PGDATA: "/var/lib/postgresql/data"
LANG: en_US.utf8
TZ: Asia/Singapore
command: ["postgres", "-c", "log_statement=all"]
command: ["postgres", "-c", "log_connections=on", "log_min_messages=info"]
volumes:
- postgres_data:/var/lib/postgresql/data
# - ./config/postgresql.conf:/etc/postgresql.conf
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 30s