CI/CD: Gitea workflow + docker-compose for Swarm
CI/CD Deploy / test (push) Successful in 1m7s
CI/CD Deploy / build-push (push) Successful in 1m45s
CI/CD Deploy / deploy (push) Successful in 57s

This commit is contained in:
Antoni Nuñez Romeu
2026-07-31 11:20:17 +02:00
parent e6b1bfe9a4
commit e54efb59ee
2 changed files with 61 additions and 7 deletions
+11
View File
@@ -1,8 +1,19 @@
services:
zlb:
image: git.hacecalor.net/ichitux/zlb:latest
build:
context: .
dockerfile: Dockerfile
ports:
- "35207:80"
restart: unless-stopped
deploy:
replicas: 1
update_config:
order: start-first
failure_action: rollback
restart_policy:
condition: any
placement:
constraints:
- node.role == manager