| 1 | services: |
| 2 | gargantua: |
| 3 | build: . |
| 4 | image: gargantua |
| 5 | restart: unless-stopped |
| 6 | ports: |
| 7 | - "8090:8090" |
| 8 | environment: |
| 9 | GARGANTUA_HOST: "0.0.0.0" |
| 10 | GARGANTUA_PORT: "8090" |
| 11 | GARGANTUA_DELAY_MIN_MS: "150" |
| 12 | GARGANTUA_DELAY_MAX_MS: "250" |
| 13 | GARGANTUA_CHUNK_MAX_BYTES: "45" |
| 14 | ulimits: |
| 15 | nofile: |
| 16 | soft: 1000000 |
| 17 | hard: 1000000 |
| 18 | # If netfilter conntrack is loaded on the host, this can cap held |
| 19 | # connections below the fd limit; raise it on the host via sysctl if needed: |
| 20 | # sysctl -w net.netfilter.nf_conntrack_max=1000000 |