[GITEA] Log Postgre for ES

This commit is contained in:
thopic 2021-09-18 15:51:42 +02:00
parent 1ff4aa556b
commit 920a458d38
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -40,6 +40,7 @@ services:
image: postgres:13.4 image: postgres:13.4
env_file: ./secrets/db.secrets env_file: ./secrets/db.secrets
restart: unless-stopped restart: unless-stopped
command: ["postgres", "-c", "log_statement=all", "-c", "logging_collector=on"]
volumes: volumes:
- ${DATA_PATH}/db/data:/var/lib/postgresql/data - ${DATA_PATH}/db/data:/var/lib/postgresql/data
- ${DATA_PATH}/db/.pgpass:/root/.pgpass - ${DATA_PATH}/db/.pgpass:/root/.pgpass