feat: autoscale

This commit is contained in:
2026-03-27 06:21:18 +07:00 Unverified
parent 4fa49a34b4
commit 2d0c880f6c
+4 -2
View File
@@ -4,11 +4,13 @@ services:
app:
image: git.dgnr.us/astral/buzz:frontend
deploy:
replicas: 4
replicas: 2
resources:
limits:
cpus: "4.0"
cpus: "1.0"
memory: 1024M
labels:
- "swarm.autoscale=true"
restart_policy:
condition: any
stop_grace_period: 1s