-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
30 lines (26 loc) · 1014 Bytes
/
Copy pathdocker-compose.prod.yml
File metadata and controls
30 lines (26 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Production-oriented overrides for ONEVO pilot deployment.
# Usage: docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
#
# Before launch:
# 1. Copy .env.example to .env and set strong secrets + SMTP + public URLs
# 2. Set BACKEND_PUBLIC_URL to your HTTPS API URL
# 3. Build installer: .\scripts\build-installer.ps1 -BackendUrl https://api.yourdomain.example
# 4. Optionally add GPU: -f docker-compose.gpu.yml
services:
backend:
environment:
ASPNETCORE_ENVIRONMENT: Production
EnableSwagger: "false"
Pilot__AlertVisibilityMode: ${ALERT_VISIBILITY_MODE:-ManagerOnly}
Smtp__Enabled: ${SMTP_ENABLE:-true}
CORS_ORIGINS: ${CORS_ORIGINS:-https://app.yourdomain.example}
cloud-ai:
environment:
CLOUD_AI_DEVICE: ${CLOUD_AI_DEVICE:-cuda}
dashboard:
environment:
NGINX_API_PROXY: http://backend:8080
connector:
profiles:
- dev
# Edge connector runs on shop PCs — do not deploy in production cloud stack by default.