Add docker-compose.yml for deployment

This commit is contained in:
Jeffrey Paul 2025-12-29 16:13:20 +07:00
parent dce898bbdb
commit 0f2df60c58

21
docker-compose.yml Normal file
View File

@ -0,0 +1,21 @@
services:
upaas:
build: .
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- upaas-data:/var/lib/upaas
environment:
- UPAAS_PORT=8080
# Optional: uncomment to enable debug logging
# - DEBUG=true
# Optional: Sentry error reporting
# - SENTRY_DSN=https://...
# Optional: Prometheus metrics auth
# - METRICS_USERNAME=prometheus
# - METRICS_PASSWORD=secret
volumes:
upaas-data: