x
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Project Instructions
|
||||
|
||||
## Docker Swarm Stack Files
|
||||
|
||||
All YAML files in this project are Docker Swarm stack files. Keep them compatible with Docker Swarm and deploy them with `docker stack deploy -c <file> <stack-name>`, not `docker compose up`.
|
||||
@@ -22,7 +22,6 @@ services:
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.50"
|
||||
memory: 128M
|
||||
pids: 256
|
||||
reservations:
|
||||
@@ -48,7 +47,6 @@ services:
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.25"
|
||||
memory: 128M
|
||||
pids: 128
|
||||
reservations:
|
||||
@@ -81,11 +79,10 @@ services:
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.00"
|
||||
memory: 128M
|
||||
memory: 256M
|
||||
pids: 512
|
||||
reservations:
|
||||
memory: 128M
|
||||
memory: 256M
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
@@ -94,7 +91,7 @@ services:
|
||||
hostname: hermes-ui
|
||||
networks:
|
||||
- hermes_proxy
|
||||
- ingress
|
||||
- default
|
||||
ports:
|
||||
- target: 8087
|
||||
published: 8088
|
||||
@@ -108,11 +105,10 @@ services:
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.25"
|
||||
memory: 16M
|
||||
memory: 32M
|
||||
pids: 128
|
||||
reservations:
|
||||
memory: 16M
|
||||
memory: 32M
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user