Send docker logs to journald

This commit is contained in:
waffles
2023-01-18 22:56:13 -08:00
parent 91f1b7c12b
commit 6654e0b971
3 changed files with 10 additions and 0 deletions
@@ -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: