-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
33 lines (33 loc) · 1.11 KB
/
docker-compose.yaml
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
version: "3.7"
services:
web:
build: web
image: labflow/webapp:latest
ports:
- 3000:3000
environment:
- PORT=3000
- "REACT_APP_API_URL=${API_URL}"
- "REACT_APP_AUTH_PROVIDER=${AUTH_PROVIDER}"
- "REACT_APP_AUTH0_DOMAIN=${AUTH0_DOMAIN}"
- "REACT_APP_AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}"
- "REACT_APP_AUTH0_API_AUDIENCE=${AUTH0_API_AUDIENCE}"
- "REACT_APP_MEASUREMENT_ID=${GA_MEASUREMENT_ID}"
server:
build: server
image: labflow/server:latest
environment:
- FLASK_ENV=development
- PORT=5000
- PROPAGATE_EXCEPTIONS=True
- "SERVER_NAME=${SERVER_NAME}"
- "SQLALCHEMY_DATABASE_URI=postgresql+pg8000://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOSTNAME}/labflow"
- "AUTH_PROVIDER=${AUTH_PROVIDER}"
- "AUTH0_DOMAIN=${AUTH0_DOMAIN}"
- "AUTH0_API_AUDIENCE=${AUTH0_API_AUDIENCE}"
- "AUTH0_AUTHORIZATION_URL=${AUTH0_AUTHORIZATION_URL}"
- "AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}"
- "AUTH0_TOKEN_URL=${AUTH0_TOKEN_URL}"
- "CASBIN_MODEL=/app/casbinmodel.conf"
ports:
- 5000:5000