chore: add podman-compose.yml for container orchestration

This commit is contained in:
2025-12-22 13:16:56 -07:00
parent 6dbc84a04c
commit a08cc51f34

27
podman-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: "3.8"
services:
app:
build:
context: .
dockerfile: Containerfile
container_name: sneaky-klaus
ports:
- "8000:8000"
environment:
- FLASK_ENV=production
- SECRET_KEY=${SECRET_KEY:-dev-secret-key-change-in-production}
- APP_URL=${APP_URL:-http://localhost:8000}
- RESEND_API_KEY=${RESEND_API_KEY:-}
volumes:
- sneaky-klaus-data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
sneaky-klaus-data: