Add default memory limits

This commit is contained in:
Owen 2026-02-28 12:14:27 -08:00
parent fdeb891137
commit 50c2aa0111
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,12 @@ services:
image: fosrl/pangolin:latest
container_name: pangolin
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 256m
volumes:
- ./config:/app/config
healthcheck:

View file

@ -4,6 +4,12 @@ services:
image: docker.io/fosrl/pangolin:{{if .IsEnterprise}}ee-{{end}}{{.PangolinVersion}}
container_name: pangolin
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 256m
volumes:
- ./config:/app/config
healthcheck: