Allow up to 65K realtime connections through Traefik
This commit is contained in:
parent
11c3060682
commit
eef2fdb72c
1 changed files with 12 additions and 1 deletions
|
@ -14,7 +14,7 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:2.7
|
image: traefik:2.9
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-traefik
|
container_name: appwrite-traefik
|
||||||
command:
|
command:
|
||||||
|
@ -33,6 +33,17 @@ services:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
- 443:443
|
- 443:443
|
||||||
- 9500:8080
|
- 9500:8080
|
||||||
|
ulimits:
|
||||||
|
nproc: 65535
|
||||||
|
nofile:
|
||||||
|
soft: 65535
|
||||||
|
hard: 65535
|
||||||
|
sysctls:
|
||||||
|
- net.core.somaxconn=1024
|
||||||
|
- net.ipv4.tcp_rmem=1024 4096 16384
|
||||||
|
- net.ipv4.tcp_wmem=1024 4096 16384
|
||||||
|
- net.ipv4.tcp_moderate_rcvbuf=0
|
||||||
|
- net.ipv4.ip_local_port_range=1025 65535
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- appwrite-config:/storage/config:ro
|
- appwrite-config:/storage/config:ro
|
||||||
|
|
Loading…
Reference in a new issue