From cf763d07f2727fb2186c5951cd50dd57fd78f9a7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 20 Jun 2022 21:25:13 +0100 Subject: [PATCH] Stop capturing logs for containers I don't care about --- ansible/roles/db_auto_backup/files/docker-compose.yml | 2 ++ ansible/roles/renovate/files/docker-compose.yml | 2 ++ ansible/roles/traefik/files/docker-compose.yml | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/ansible/roles/db_auto_backup/files/docker-compose.yml b/ansible/roles/db_auto_backup/files/docker-compose.yml index 8cfe57f..13876d0 100644 --- a/ansible/roles/db_auto_backup/files/docker-compose.yml +++ b/ansible/roles/db_auto_backup/files/docker-compose.yml @@ -22,3 +22,5 @@ services: - EXEC=1 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro + logging: + driver: none diff --git a/ansible/roles/renovate/files/docker-compose.yml b/ansible/roles/renovate/files/docker-compose.yml index 692868b..f519353 100644 --- a/ansible/roles/renovate/files/docker-compose.yml +++ b/ansible/roles/renovate/files/docker-compose.yml @@ -34,3 +34,5 @@ services: - IMAGES=1 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro + logging: + driver: none diff --git a/ansible/roles/traefik/files/docker-compose.yml b/ansible/roles/traefik/files/docker-compose.yml index 02488e4..a3986f3 100644 --- a/ansible/roles/traefik/files/docker-compose.yml +++ b/ansible/roles/traefik/files/docker-compose.yml @@ -33,6 +33,8 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - proxy_private + logging: + driver: none shenanigans: image: nginx:alpine @@ -41,6 +43,8 @@ services: - /opt/traefik/nginx.conf:/etc/nginx/conf.d/default.conf:ro networks: - proxy_private + logging: + driver: none certs: image: slocomptech/traefik-cert-extract:latest @@ -49,6 +53,8 @@ services: volumes: - ./traefik:/data:ro - ./certs:/config/certs + logging: + driver: none networks: traefik: