diff --git a/.examples/docker-compose/insecure/mariadb/apache/compose.yaml b/.examples/docker-compose/insecure/mariadb/apache/compose.yaml index 3e35eba0..79cc6096 100644 --- a/.examples/docker-compose/insecure/mariadb/apache/compose.yaml +++ b/.examples/docker-compose/insecure/mariadb/apache/compose.yaml @@ -3,10 +3,6 @@ services: image: mariadb:10.8.2 command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/mysql:Z environment: @@ -23,10 +19,6 @@ services: app: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" ports: - 127.0.0.1:8080:80 volumes: @@ -43,10 +35,6 @@ services: cron: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh diff --git a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml index d0ebb647..103afad9 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml @@ -3,10 +3,6 @@ services: image: mariadb:10.8.2 command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/mysql:Z environment: @@ -23,10 +19,6 @@ services: app: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -41,10 +33,6 @@ services: web: build: ./web restart: always - logging: - driver: "json-file" - options: - max-size: "50m" ports: - 127.0.0.1:8080:80 volumes: @@ -55,10 +43,6 @@ services: cron: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh diff --git a/.examples/docker-compose/insecure/postgres/apache/compose.yaml b/.examples/docker-compose/insecure/postgres/apache/compose.yaml index 6302890b..646261d0 100644 --- a/.examples/docker-compose/insecure/postgres/apache/compose.yaml +++ b/.examples/docker-compose/insecure/postgres/apache/compose.yaml @@ -2,10 +2,6 @@ services: db: image: postgres:alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/postgresql/data:Z env_file: @@ -18,10 +14,6 @@ services: app: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" ports: - 127.0.0.1:8080:80 volumes: @@ -38,10 +30,6 @@ services: cron: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh diff --git a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml index 6941f4b2..b5071d5c 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml @@ -2,10 +2,6 @@ services: db: image: postgres:alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/postgresql/data:Z env_file: @@ -18,10 +14,6 @@ services: app: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -36,10 +28,6 @@ services: web: build: ./web restart: always - logging: - driver: "json-file" - options: - max-size: "50m" ports: - 127.0.0.1:8080:80 volumes: @@ -50,10 +38,6 @@ services: cron: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml index ac548efc..3587bbd2 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml @@ -3,10 +3,6 @@ services: image: mariadb:10.8.2 command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/mysql:Z environment: @@ -23,10 +19,6 @@ services: app: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -51,10 +43,6 @@ services: cron: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh @@ -65,9 +53,6 @@ services: proxy: build: ./proxy restart: always - # Logging to syslog, it's best when combining with fail2ban on the host. - logging: - driver: "syslog" ports: - 80:80 - 443:443 @@ -86,10 +71,6 @@ services: letsencrypt-companion: image: nginxproxy/acme-companion restart: always - logging: - driver: "json-file" - options: - max-size: "50m" environment: - DEFAULT_EMAIL= volumes: diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml index 42511718..6d22546b 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml @@ -3,10 +3,6 @@ services: image: mariadb:10.8.2 command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/mysql:Z environment: @@ -23,10 +19,6 @@ services: app: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -42,10 +34,6 @@ services: web: build: ./web restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z,ro environment: @@ -61,10 +49,6 @@ services: cron: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh @@ -75,8 +59,6 @@ services: proxy: build: ./proxy restart: always - logging: - driver: "syslog" ports: - 80:80 - 443:443 @@ -94,10 +76,6 @@ services: letsencrypt-companion: image: nginxproxy/acme-companion restart: always - logging: - driver: "json-file" - options: - max-size: "50m" environment: - DEFAULT_EMAIL= volumes: diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml b/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml index 92b20fc8..ddee8594 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml @@ -2,10 +2,6 @@ services: db: image: postgres:alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/postgresql/data:Z env_file: @@ -18,10 +14,6 @@ services: app: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -43,10 +35,6 @@ services: cron: image: nextcloud:apache restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh @@ -57,8 +45,6 @@ services: proxy: build: ./proxy restart: always - logging: - driver: "syslog" ports: - 80:80 - 443:443 diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml index b260511e..de199d95 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml @@ -4,10 +4,6 @@ services: db: image: postgres:alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - db:/var/lib/postgresql/data:Z env_file: @@ -20,10 +16,6 @@ services: app: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z environment: @@ -39,10 +31,6 @@ services: web: build: ./web restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z,ro environment: @@ -58,10 +46,6 @@ services: cron: image: nextcloud:fpm-alpine restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - nextcloud:/var/www/html:z entrypoint: /cron.sh @@ -72,8 +56,6 @@ services: proxy: build: ./proxy restart: always - logging: - driver: "syslog" ports: - 80:80 - 443:443 @@ -91,10 +73,6 @@ services: letsencrypt-companion: image: nginxproxy/acme-companion restart: always - logging: - driver: "json-file" - options: - max-size: "50m" volumes: - certs:/etc/nginx/certs:z - acme:/etc/acme.sh:z