add resource limits:

This commit is contained in:
2025-01-09 18:38:42 -06:00
parent a4348d96bf
commit 92a346b2c9

View File

@ -22,6 +22,11 @@ services:
networks: networks:
- proxy - proxy
deploy: deploy:
resources:
limits:
memory: 2048M
reservations:
memory: 500M
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=proxy" - "traefik.docker.network=proxy"