add API KEY var to docker compose

This commit is contained in:
Marko Djordjevic 2026-02-18 22:55:46 +01:00
parent e446e3e563
commit d6b980a3ca

View file

@ -12,6 +12,7 @@ services:
- INFERENCE_API_TIMEOUT=30000 - INFERENCE_API_TIMEOUT=30000
- INFERENCE_BATCH_TIMEOUT=120000 - INFERENCE_BATCH_TIMEOUT=120000
- NEXT_PUBLIC_PREDICTIONS_ENABLED=true - NEXT_PUBLIC_PREDICTIONS_ENABLED=true
- API_KEY=${API_KEY}
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
postgres: postgres:
@ -36,6 +37,7 @@ services:
- MLFLOW_TRACKING_URI=http://mlflow:5000 - MLFLOW_TRACKING_URI=http://mlflow:5000
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
- API_KEY=${API_KEY}
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
postgres: postgres: