0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-05 22:04:58 +01:00

Removed logging from compose files.

Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
This commit is contained in:
Kaloyan Nikolov 2024-04-25 17:52:56 +03:00 committed by J0WI
parent c90aee5f6c
commit d2edd7df49
8 changed files with 0 additions and 133 deletions

View file

@ -3,10 +3,6 @@ services:
image: mariadb:10.8.2 image: mariadb:10.8.2
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/mysql:Z - db:/var/lib/mysql:Z
environment: environment:
@ -23,10 +19,6 @@ services:
app: app:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
ports: ports:
- 127.0.0.1:8080:80 - 127.0.0.1:8080:80
volumes: volumes:
@ -43,10 +35,6 @@ services:
cron: cron:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh

View file

@ -3,10 +3,6 @@ services:
image: mariadb:10.8.2 image: mariadb:10.8.2
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/mysql:Z - db:/var/lib/mysql:Z
environment: environment:
@ -23,10 +19,6 @@ services:
app: app:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -41,10 +33,6 @@ services:
web: web:
build: ./web build: ./web
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
ports: ports:
- 127.0.0.1:8080:80 - 127.0.0.1:8080:80
volumes: volumes:
@ -55,10 +43,6 @@ services:
cron: cron:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh

View file

@ -2,10 +2,6 @@ services:
db: db:
image: postgres:alpine image: postgres:alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/postgresql/data:Z - db:/var/lib/postgresql/data:Z
env_file: env_file:
@ -18,10 +14,6 @@ services:
app: app:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
ports: ports:
- 127.0.0.1:8080:80 - 127.0.0.1:8080:80
volumes: volumes:
@ -38,10 +30,6 @@ services:
cron: cron:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh

View file

@ -2,10 +2,6 @@ services:
db: db:
image: postgres:alpine image: postgres:alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/postgresql/data:Z - db:/var/lib/postgresql/data:Z
env_file: env_file:
@ -18,10 +14,6 @@ services:
app: app:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -36,10 +28,6 @@ services:
web: web:
build: ./web build: ./web
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
ports: ports:
- 127.0.0.1:8080:80 - 127.0.0.1:8080:80
volumes: volumes:
@ -50,10 +38,6 @@ services:
cron: cron:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh

View file

@ -3,10 +3,6 @@ services:
image: mariadb:10.8.2 image: mariadb:10.8.2
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/mysql:Z - db:/var/lib/mysql:Z
environment: environment:
@ -23,10 +19,6 @@ services:
app: app:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -51,10 +43,6 @@ services:
cron: cron:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh
@ -65,9 +53,6 @@ services:
proxy: proxy:
build: ./proxy build: ./proxy
restart: always restart: always
# Logging to syslog, it's best when combining with fail2ban on the host.
logging:
driver: "syslog"
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -86,10 +71,6 @@ services:
letsencrypt-companion: letsencrypt-companion:
image: nginxproxy/acme-companion image: nginxproxy/acme-companion
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
environment: environment:
- DEFAULT_EMAIL= - DEFAULT_EMAIL=
volumes: volumes:

View file

@ -3,10 +3,6 @@ services:
image: mariadb:10.8.2 image: mariadb:10.8.2
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/mysql:Z - db:/var/lib/mysql:Z
environment: environment:
@ -23,10 +19,6 @@ services:
app: app:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -42,10 +34,6 @@ services:
web: web:
build: ./web build: ./web
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z,ro - nextcloud:/var/www/html:z,ro
environment: environment:
@ -61,10 +49,6 @@ services:
cron: cron:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh
@ -75,8 +59,6 @@ services:
proxy: proxy:
build: ./proxy build: ./proxy
restart: always restart: always
logging:
driver: "syslog"
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -94,10 +76,6 @@ services:
letsencrypt-companion: letsencrypt-companion:
image: nginxproxy/acme-companion image: nginxproxy/acme-companion
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
environment: environment:
- DEFAULT_EMAIL= - DEFAULT_EMAIL=
volumes: volumes:

View file

@ -2,10 +2,6 @@ services:
db: db:
image: postgres:alpine image: postgres:alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/postgresql/data:Z - db:/var/lib/postgresql/data:Z
env_file: env_file:
@ -18,10 +14,6 @@ services:
app: app:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -43,10 +35,6 @@ services:
cron: cron:
image: nextcloud:apache image: nextcloud:apache
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh
@ -57,8 +45,6 @@ services:
proxy: proxy:
build: ./proxy build: ./proxy
restart: always restart: always
logging:
driver: "syslog"
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443

View file

@ -4,10 +4,6 @@ services:
db: db:
image: postgres:alpine image: postgres:alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- db:/var/lib/postgresql/data:Z - db:/var/lib/postgresql/data:Z
env_file: env_file:
@ -20,10 +16,6 @@ services:
app: app:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
environment: environment:
@ -39,10 +31,6 @@ services:
web: web:
build: ./web build: ./web
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z,ro - nextcloud:/var/www/html:z,ro
environment: environment:
@ -58,10 +46,6 @@ services:
cron: cron:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- nextcloud:/var/www/html:z - nextcloud:/var/www/html:z
entrypoint: /cron.sh entrypoint: /cron.sh
@ -72,8 +56,6 @@ services:
proxy: proxy:
build: ./proxy build: ./proxy
restart: always restart: always
logging:
driver: "syslog"
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -91,10 +73,6 @@ services:
letsencrypt-companion: letsencrypt-companion:
image: nginxproxy/acme-companion image: nginxproxy/acme-companion
restart: always restart: always
logging:
driver: "json-file"
options:
max-size: "50m"
volumes: volumes:
- certs:/etc/nginx/certs:z - certs:/etc/nginx/certs:z
- acme:/etc/acme.sh:z - acme:/etc/acme.sh:z