Skip to content

Commit

Permalink
Switch logging to journald
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Feb 19, 2024
1 parent 2fc8e51 commit 79eb04d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ version: "3.8"
services:
dns-server:
logging:
driver: none
driver: journald
tag: dns-server
image: hickorydns/hickory-dns:latest
dns:
- "10.222.222.1"
Expand All @@ -20,7 +21,8 @@ services:

mailserver:
logging:
driver: none
driver: journald
tag: mailserver
image: mailserver/docker-mailserver:13.3.1
mem_limit: 4G
mem_reservation: 2G
Expand Down Expand Up @@ -198,7 +200,8 @@ services:
mem_limit: 1G
mem_reservation: 100M
logging:
driver: none
driver: journald
tag: openldap
dns:
- "10.222.222.1"
hostname: ldap.mail-server.intranet
Expand Down Expand Up @@ -252,7 +255,8 @@ services:

phpldapadmin:
logging:
driver: none
driver: journald
tag: phpldapadmin
image: ghcr.io/sudo-bot/docker-phpldapadmin/docker-phpldapadmin:latest
mem_limit: 512M
mem_reservation: 100M
Expand Down Expand Up @@ -290,7 +294,8 @@ services:

acme:
logging:
driver: none
driver: journald
tag: acme
image: docker.io/neilpang/acme.sh:3.0.7
dns:
- "10.222.222.1"
Expand Down Expand Up @@ -332,7 +337,8 @@ services:

crowdsec:
logging:
driver: none
driver: journald
tag: crowdsec
image: crowdsecurity/crowdsec:v1.6.0
dns_search: ""
restart: always
Expand Down

0 comments on commit 79eb04d

Please sign in to comment.