Files
help-service/docker-compose.coolify.yml

40 lines
917 B
YAML

# Help-Service für Coolify
# =========================
#
# Flask + Gunicorn mit Bind Mount für Dokumentation
#
# WICHTIG in Coolify UI:
# 1. Domain setzen: https://hilfe.islandpferde-melanieworbs.de
# 2. Port: 5000
#
# Content aktualisieren:
# SSH → cd /pfad/zum/service → git pull → Coolify: Restart
#
# Domain: https://hilfe.islandpferde-melanieworbs.de
# Port: 5000
services:
help:
build:
context: .
dockerfile: Dockerfile
container_name: help-service
restart: unless-stopped
expose:
- 5000
environment:
- FLASK_ENV=production
- DOCS_PATH=/app/content
volumes:
- type: bind
source: ./content
target: /app/content
is_directory: true
read_only: true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s