Add docker-compose.yml and Gitea Actions workflow
Build & Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
Ricardo Mancinas
2026-07-11 19:00:48 -07:00
parent 4c69ae1529
commit aadd136592
2 changed files with 66 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
version: '3.8'
services:
ascii-art-app:
image: git.mancinas.io/rmancinas/ascii-art-app:latest
deploy:
replicas: 1
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
ports:
- "8182:5000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/"]
interval: 30s
timeout: 10s
retries: 3