fix: nextcloud upload limit not applying

This commit is contained in:
ange 2024-04-25 11:45:38 +02:00
parent a7b4b882c6
commit c581edc17e
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
19 changed files with 38 additions and 33 deletions

View File

@ -30,7 +30,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -28,4 +28,4 @@ volumes:
external: true
certbotroot:
external: true
cache:
cache: {}

View File

@ -1,7 +1,7 @@
---
services:
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
image: docker.io/flaresolverr/flaresolverr:latest
restart: unless-stopped
env_file:
- .env

View File

@ -46,15 +46,15 @@ services:
- db
volumes:
config:
data:
db:
sites:
external: true
certs:
external: true
certbotroot:
external: true
config: {}
data: {}
db: {}
networks:
nginx:

View File

@ -30,8 +30,8 @@ volumes:
external: true
certbotroot:
external: true
cache:
config:
cache: {}
config: {}
networks:
nginx:

View File

@ -15,7 +15,7 @@ services:
- "389:389"
- "636:636"
env_file:
.env
- .env
volumes:
- certs:/etc/letsencrypt/:ro

View File

@ -20,7 +20,7 @@ services:
- PGID
volumes:
- config:/config/
- $MEDIA_PATH:/data/
- "$MEDIA_PATH:/data/"
networks:
- nginx
@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -24,12 +24,12 @@ services:
- POSTGRES_USER
- POSTGRES_PASSWORD
volumes:
- mailboxes:/usr/lib/dovecot/Maildir
- mailboxes:/usr/lib/dovecot/Maildir/
postfix:
build: postfix
restart: unless_stopped
volumes:
db:
mailboxes:
db: {}
mailboxes: {}

View File

@ -32,11 +32,11 @@ services:
build: coturn
restart: unless-stopped
network_mode: host # TODO: https://github.com/instrumentisto/coturn-docker-image/issues/3
tmpfs:
- /var/lib/coturn/
environment:
- BASE_URL=$COTURN_BASE_URL
- AUTH_SECRET
tmpfs:
- /var/lib/coturn/
synapse:
image: docker.io/matrixdotorg/synapse:latest
@ -65,9 +65,9 @@ volumes:
external: true
certbotroot:
external: true
db:
synapse_config:
synapse_data:
db: {}
synapse_config: {}
synapse_data: {}
networks:
nginx:

View File

@ -10,4 +10,4 @@ services:
- blocks:/home/app/.bitmonero/
volumes:
blocks:
blocks: {}

View File

@ -4,6 +4,8 @@ POSTGRES_PASSWORD=
DEFAULT_PHONE_REGION=FR
MEDIA_PATH=/media
UPLOAD_LIMIT=1024G
PUID=1000
PGID=1000

View File

@ -5,6 +5,7 @@ services:
environment:
- BASE_URL
- EMAIL
- UPLOAD_LIMIT
volumes:
- ./nginx.conf:/web/nextcloud.conf
- sites:/sites/
@ -38,6 +39,8 @@ services:
- REDIS_HOST=redis
- TRUSTED_PROXIES=nextcloud
- OVERWRITEPROTOCOL=https
- PHP_UPLOAD_LIMIT=$UPLOAD_LIMIT
- APACHE_BODY_LIMIT=0
volumes:
- nextcloud:/var/www/html/
- apps:/var/www/html/custom_apps/
@ -52,18 +55,18 @@ services:
- redis
volumes:
db:
redis:
nextcloud:
apps:
config:
data:
sites:
external: true
certs:
external: true
certbotroot:
external: true
db: {}
redis: {}
nextcloud: {}
apps: {}
config: {}
data: {}
networks:
nginx:

View File

@ -19,7 +19,7 @@ server {
location / {
proxy_pass http://nextcloud;
client_max_body_size 1024G;
client_max_body_size $UPLOAD_LIMIT;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

View File

@ -30,7 +30,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx:

View File

@ -31,7 +31,7 @@ volumes:
external: true
certbotroot:
external: true
config:
config: {}
networks:
nginx: