forked from christiangeissler/driftapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (33 loc) · 949 Bytes
/
docker-compose.yml
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
33
34
35
36
37
version: "3.3"
services:
racedisplay-service:
image: racedisplay-service
build: ./streamlit
depends_on:
- driftapi-db
environment:
STREAMLIT_DRIFTAPI_PATH: ${STREAMLIT_DRIFTAPI_PATH}
STREAMLIT_SERVER_PORT: ${STREAMLIT_SERVER_PORT}
STREAMLIT_HOSTNAME: ${STREAMLIT_HOSTNAME}
ports:
- 8080:8080
profiles:
- racedisplay
driftapi-service:
image: driftapi-service
build: ./driftapi
depends_on:
- driftapi-db
environment:
DRIFTAPI_DATABASE_URL: ${DRIFTAPI_DATABASE_URL}
DRIFTAPI_DATABASE_NAME: ${DRIFTAPI_DATABASE_NAME}
DRIFTAPI_ROOT_PATH: ${DRIFTAPI_ROOT_PATH}
DRIFTAPI_DISABLE_OPENAPI: ${DRIFTAPI_DISABLE_OPENAPI}
DRIFTAPI_CORS_ALLOW_ORIGINS: ${DRIFTAPI_CORS_ALLOW_ORIGINS}
DRIFTAPI_ENABLE_RACEDISPLAY: ${DRIFTAPI_ENABLE_RACEDISPLAY}
ports:
- 8001:8001
driftapi-db:
image: mongo
ports:
- 27018:27017