Add reusable deployment helper
All checks were successful
Publish container image / Build and push image (push) Successful in 2s

This commit is contained in:
2026-05-21 21:55:27 +02:00
parent eb2b154bf4
commit 3d4eb50d1c
4 changed files with 289 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Generated by deploy/deploy.sh from this repo's deployment template.
# Internal port and mounts are service-specific; host port and image tag are
# filled in by the deployment helper.
services:
__SERVICE_NAME__:
image: __IMAGE__:__IMAGE_TAG__
container_name: __SERVICE_NAME__-__SERVICE_NUMBER__
restart: unless-stopped
env_file:
- .env
environment:
PORT: 8091
ports:
- "__HOST_PORT__:8091"
volumes:
- ./config:/app/config:ro
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8091/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s