diff --git a/stacks/authentik/docker-compose.yml b/stacks/authentik/docker-compose.yml index 899ca2f..3b57fc6 100644 --- a/stacks/authentik/docker-compose.yml +++ b/stacks/authentik/docker-compose.yml @@ -23,6 +23,11 @@ services: - ./blueprints:/blueprints/custom:ro ports: - "9200:9000" + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" depends_on: authentik-db: condition: service_healthy diff --git a/stacks/owncloud/docker-compose.yml b/stacks/owncloud/docker-compose.yml index 1148307..282af93 100644 --- a/stacks/owncloud/docker-compose.yml +++ b/stacks/owncloud/docker-compose.yml @@ -48,6 +48,11 @@ services: environment: - MYSQL_DATABASE=owncloud command: ["--max-allowed-packet=128M", "--innodb-log-file-size=64M"] + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" healthcheck: # $$ defers expansion to container runtime (env_file supplies the value) test: ["CMD-SHELL", "mariadb-admin ping -u root --password=\"$$MYSQL_ROOT_PASSWORD\""] diff --git a/stacks/photos/docker-compose.yml b/stacks/photos/docker-compose.yml index fda0fba..1ae4d24 100644 --- a/stacks/photos/docker-compose.yml +++ b/stacks/photos/docker-compose.yml @@ -16,6 +16,11 @@ services: - /etc/localtime:/etc/localtime:ro ports: - "2283:2283" + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" depends_on: - immich-redis - immich-postgres