[GITEA] Log Postgre for ES
This commit is contained in:
parent
1ff4aa556b
commit
920a458d38
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user