Initial commit - Help Service for Coolify
This commit is contained in:
39
docker-compose.coolify.yml
Normal file
39
docker-compose.coolify.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user