Send docker logs to journald

This commit is contained in:
waffles committed 2023-01-18 22:56:13 -08:00
1 parent 91f1b7c12b
commit 6654e0b971
3 files changed
+10

No files matched your search

@@ -2,6 +2,8 @@ version: '3'
services:
{% if ENV_PRODUCTION['STATSD_ADDR'] is defined %}
statsd:
logging:
driver: journald
restart: always
image: prom/statsd-exporter
command: --statsd.mapping-config=/tmp/statsd_mapping.yml
@@ -15,6 +17,8 @@ services:
- "127.0.0.1:9125:9125"
{% endif %}
pgbouncer:
logging:
driver: journald
restart: always
image: edoburu/pgbouncer
networks: