eb9161804e
Add containerization support for production deployment: - Multi-stage Dockerfile using Bun for build and nginx for serving - docker-compose.yml for container orchestration - nginx.conf with gzip compression, caching headers, and security headers
16 lines
342 B
YAML
16 lines
342 B
YAML
services:
|
|
ui:
|
|
build: .
|
|
container_name: gatehouse-ui
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://localhost:5000/api/v1}
|
|
restart: unless-stopped
|
|
stop_grace_period: 10s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|