-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.override.example.yml
More file actions
32 lines (29 loc) · 1.11 KB
/
Copy pathdocker-compose.override.example.yml
File metadata and controls
32 lines (29 loc) · 1.11 KB
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
31
32
# Optional local overrides — copy to docker-compose.override.yml (gitignored).
# Compose merges this automatically with docker-compose.yml.
#
# cp docker-compose.override.example.yml docker-compose.override.yml
#
# Prefer putting secrets in `.env` (see .env.example). Use this file for
# GPU devices, extra mounts, or non-secret compose tweaks.
services:
api:
# Prefer `.env` for API_KEY / CORS_ORIGINS (see `.env.example`).
# Uncomment to override here instead:
# environment:
# API_KEY: change-me-before-exposing
# CORS_ORIGINS: https://ehr-risk-framework.larucare.com
# NVIDIA GPU (requires nvidia-container-toolkit / Docker Desktop GPU support).
# Useful for heavier XGBoost / future GPU models; default CPU demos do not need this.
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# Example: map custom host ports without editing the main compose file
# (or set UI_PORT / API_PORT in `.env`):
# web:
# ports: ["9080:80"]
# api:
# ports: ["9000:8000"]