fix: nextcloud upload limit not applying
This commit is contained in:
parent
a7b4b882c6
commit
c581edc17e
@ -30,7 +30,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -28,4 +28,4 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
cache:
|
cache: {}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
flaresolverr:
|
flaresolverr:
|
||||||
image: ghcr.io/flaresolverr/flaresolverr:latest
|
image: docker.io/flaresolverr/flaresolverr:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
@ -46,15 +46,15 @@ services:
|
|||||||
- db
|
- db
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
config:
|
|
||||||
data:
|
|
||||||
db:
|
|
||||||
sites:
|
sites:
|
||||||
external: true
|
external: true
|
||||||
certs:
|
certs:
|
||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
|
config: {}
|
||||||
|
data: {}
|
||||||
|
db: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -30,8 +30,8 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
cache:
|
cache: {}
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -15,7 +15,7 @@ services:
|
|||||||
- "389:389"
|
- "389:389"
|
||||||
- "636:636"
|
- "636:636"
|
||||||
env_file:
|
env_file:
|
||||||
.env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- certs:/etc/letsencrypt/:ro
|
- certs:/etc/letsencrypt/:ro
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ services:
|
|||||||
- PGID
|
- PGID
|
||||||
volumes:
|
volumes:
|
||||||
- config:/config/
|
- config:/config/
|
||||||
- $MEDIA_PATH:/data/
|
- "$MEDIA_PATH:/data/"
|
||||||
networks:
|
networks:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -24,12 +24,12 @@ services:
|
|||||||
- POSTGRES_USER
|
- POSTGRES_USER
|
||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
volumes:
|
volumes:
|
||||||
- mailboxes:/usr/lib/dovecot/Maildir
|
- mailboxes:/usr/lib/dovecot/Maildir/
|
||||||
|
|
||||||
postfix:
|
postfix:
|
||||||
build: postfix
|
build: postfix
|
||||||
restart: unless_stopped
|
restart: unless_stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db: {}
|
||||||
mailboxes:
|
mailboxes: {}
|
||||||
|
@ -32,11 +32,11 @@ services:
|
|||||||
build: coturn
|
build: coturn
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host # TODO: https://github.com/instrumentisto/coturn-docker-image/issues/3
|
network_mode: host # TODO: https://github.com/instrumentisto/coturn-docker-image/issues/3
|
||||||
tmpfs:
|
|
||||||
- /var/lib/coturn/
|
|
||||||
environment:
|
environment:
|
||||||
- BASE_URL=$COTURN_BASE_URL
|
- BASE_URL=$COTURN_BASE_URL
|
||||||
- AUTH_SECRET
|
- AUTH_SECRET
|
||||||
|
tmpfs:
|
||||||
|
- /var/lib/coturn/
|
||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
image: docker.io/matrixdotorg/synapse:latest
|
image: docker.io/matrixdotorg/synapse:latest
|
||||||
@ -65,9 +65,9 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
db:
|
db: {}
|
||||||
synapse_config:
|
synapse_config: {}
|
||||||
synapse_data:
|
synapse_data: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -10,4 +10,4 @@ services:
|
|||||||
- blocks:/home/app/.bitmonero/
|
- blocks:/home/app/.bitmonero/
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
blocks:
|
blocks: {}
|
||||||
|
@ -4,6 +4,8 @@ POSTGRES_PASSWORD=
|
|||||||
DEFAULT_PHONE_REGION=FR
|
DEFAULT_PHONE_REGION=FR
|
||||||
MEDIA_PATH=/media
|
MEDIA_PATH=/media
|
||||||
|
|
||||||
|
UPLOAD_LIMIT=1024G
|
||||||
|
|
||||||
PUID=1000
|
PUID=1000
|
||||||
PGID=1000
|
PGID=1000
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- BASE_URL
|
- BASE_URL
|
||||||
- EMAIL
|
- EMAIL
|
||||||
|
- UPLOAD_LIMIT
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/web/nextcloud.conf
|
- ./nginx.conf:/web/nextcloud.conf
|
||||||
- sites:/sites/
|
- sites:/sites/
|
||||||
@ -38,6 +39,8 @@ services:
|
|||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- TRUSTED_PROXIES=nextcloud
|
- TRUSTED_PROXIES=nextcloud
|
||||||
- OVERWRITEPROTOCOL=https
|
- OVERWRITEPROTOCOL=https
|
||||||
|
- PHP_UPLOAD_LIMIT=$UPLOAD_LIMIT
|
||||||
|
- APACHE_BODY_LIMIT=0
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html/
|
- nextcloud:/var/www/html/
|
||||||
- apps:/var/www/html/custom_apps/
|
- apps:/var/www/html/custom_apps/
|
||||||
@ -52,18 +55,18 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
|
||||||
redis:
|
|
||||||
nextcloud:
|
|
||||||
apps:
|
|
||||||
config:
|
|
||||||
data:
|
|
||||||
sites:
|
sites:
|
||||||
external: true
|
external: true
|
||||||
certs:
|
certs:
|
||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
|
db: {}
|
||||||
|
redis: {}
|
||||||
|
nextcloud: {}
|
||||||
|
apps: {}
|
||||||
|
config: {}
|
||||||
|
data: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -19,7 +19,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_pass http://nextcloud;
|
proxy_pass http://nextcloud;
|
||||||
|
|
||||||
client_max_body_size 1024G;
|
client_max_body_size $UPLOAD_LIMIT;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
@ -30,7 +30,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
@ -31,7 +31,7 @@ volumes:
|
|||||||
external: true
|
external: true
|
||||||
certbotroot:
|
certbotroot:
|
||||||
external: true
|
external: true
|
||||||
config:
|
config: {}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nginx:
|
nginx:
|
||||||
|
Loading…
Reference in New Issue
Block a user