diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index 084a576..93faeb5 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -4,6 +4,12 @@ services: nextcloud: image: nextcloud:latest container_name: nextcloud + logging: + driver: "local" + options: + max-size: "10m" + max-file: "3" + restart: always ports: - "9000:80" @@ -23,6 +29,12 @@ services: nextcloud-cron: image: nextcloud:latest container_name: nextcloud-cron + logging: + driver: "local" + options: + max-size: "10m" + max-file: "3" + restart: always entrypoint: /cron.sh command: @@ -43,6 +55,12 @@ services: clamav: image: clamav/clamav-debian container_name: clamav + logging: + driver: "local" + options: + max-size: "10m" + max-file: "3" + restart: unless-stopped ports: - "3310:3310"