mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-28 03:39:42 +00:00
Add default memory limits
This commit is contained in:
parent
fdeb891137
commit
50c2aa0111
2 changed files with 12 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue