setup deploy on swarm
deploy / deploy (push) Failing after 1s

This commit is contained in:
2026-08-28 20:58:08 +02:00
parent 27caf54382
commit 8bc3dbe58b
2 changed files with 48 additions and 1 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
services:
aoc:
image: git.ao-it.net/aoit/aoc:latest
image: git.ao-it.net/ao-it/aoc:latest
restart: always
deploy:
replicas: 1
placement:
max_replicas_per_node: 1
constraints:
- node.role != manager
update_config:
parallelism: 1
delay: 10s
volumes:
- ./files/aoc.conf:/data/aoc.conf
- ./files/aoc.db:/data/aoc.db