Files
hadrian/docker-compose.yaml
Gianni Carafa c08108f448 add limits
2023-11-02 10:01:27 +01:00

23 lines
444 B
YAML

version: '3'
services:
ladder:
build: .
container_name: ladder
#restart: always
#command: tail -f /dev/null
command: ./ladder
environment:
- PORT=2000
- PORT_PROXY=3000
- GODEBUG=netdns=go+4
ports:
- "2000:2000"
- "8080:3000"
deploy:
resources:
limits:
cpus: "0.50"
memory: 512M
reservations:
cpus: "0.25"
memory: 128M