version: '3.8'
services:
pastel-ui:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/valknarness/pastel-ui:latest
container_name: pastel-ui
ports:
- "3000:3000"
environment:
- NODE_ENV=production
# Runtime configuration - can be changed without rebuilding
- PASTEL_API_URL=${PASTEL_API_URL:-http://pastel-api:3001}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
pastel-api:
image: ghcr.io/valknarness/pastel-api:latest
container_name: pastel-api
- "3001:3001"
- RUST_LOG=info
- PORT=3001
- HOST=0.0.0.0
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/health"]
start_period: 10s
networks:
default:
name: pastel-network