[Postgre] Make use of labels for monitoring + bump to last minor version
This commit is contained in:
3 files changed
+11
-3
No files matched your search
@@ -33,13 +33,15 @@ services:
|
||||
- "traefik.http.routers.gitea.rule=Host(`${CN}`)"
|
||||
|
||||
db:
|
||||
image: postgres:13.5
|
||||
image: postgres:13.11-alpine
|
||||
env_file: ./secrets/db.secrets
|
||||
restart: unless-stopped
|
||||
command: ["postgres", "-c", "log_statement=all", "-c", "logging_collector=on"]
|
||||
volumes:
|
||||
- ${DATA_PATH}/db/data:/var/lib/postgresql/data
|
||||
- ${DATA_PATH}/db/.pgpass:/root/.pgpass
|
||||
labels:
|
||||
- "co.elastic.logs/module=postgresql"
|
||||
- "co.elastic.logs/fileset=log"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
Reference in new issue
Block a user