progressively working deploy scenario

This commit is contained in:
2026-06-19 19:17:22 +00:00
parent 2d2b2d040b
commit c4cc268ea8
14 changed files with 125 additions and 72 deletions
+19
View File
@@ -0,0 +1,19 @@
# Production override — use with: docker compose -f docker-compose.yml -f docker-compose.prod.yml up
# Assumes: managed PostgreSQL, external reverse proxy / load balancer handling TLS and port 80/443.
services:
# No db service — managed PostgreSQL is assumed.
# Set KMTN_DATABASE_URL in your environment or a .env file.
api:
environment:
KMTN_ENV: production
# Override with your actual production domain(s)
KMTN_CORS_ORIGINS: '["https://yourdomain.com"]'
# No port mapping — traffic arrives via reverse proxy / load balancer
frontend:
environment:
# Point to your API's production URL
API_UPSTREAM: https://api.yourdomain.com
# No port mapping — traffic arrives via reverse proxy / load balancer