progressively working deploy scenario
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user