0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-17 18:46:43 +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
parent d1fad61e17
commit 3f4a8d47dd
8 changed files with 0 additions and 133 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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

View file

@ -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