From a08cc51f346466ce04d75a2c7b5fe4b18931e21f Mon Sep 17 00:00:00 2001 From: Phil Skentelbery Date: Mon, 22 Dec 2025 13:16:56 -0700 Subject: [PATCH] chore: add podman-compose.yml for container orchestration --- podman-compose.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 podman-compose.yml diff --git a/podman-compose.yml b/podman-compose.yml new file mode 100644 index 0000000..2cdf657 --- /dev/null +++ b/podman-compose.yml @@ -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: