-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
55 lines (53 loc) · 1.59 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
backend:
build: ./backend/.
tty: true
working_dir: /home/node/app
command: ["npm", "run", "start:dev"]
ports:
- "127.0.0.1:3000:3000"
- "127.0.0.1:9229:9229"
env_file:
- ${ENV_FILE:-.env}
environment:
- AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}
- AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET}
- AUTH0_ISSUER_BASE_URL=${AUTH0_ISSUER_BASE_URL}
- PORT=3000
- REDIS_ENCRYPTION_KEY=${REDIS_ENCRYPTION_KEY}
- REDIS_URL=${REDIS_URL}
- SESSION_SECRET=${SESSION_SECRET}
- ZOOM_APP_CLIENT_ID=${ZOOM_APP_CLIENT_ID}
- ZOOM_APP_CLIENT_SECRET=${ZOOM_APP_CLIENT_SECRET}
- ZOOM_APP_CLIENT_URL=http://frontend:9090
- ZOOM_APP_REDIRECT_URI=${PUBLIC_URL}/api/zoomapp/auth
- ZOOM_APP_OAUTH_STATE_SECRET=${ZOOM_APP_OAUTH_STATE_SECRET}
- ZOOM_HOST=${ZOOM_HOST}
volumes:
- ./backend:/home/node/app
- /home/node/app/node_modules
depends_on:
- redis
frontend:
build: ./frontend/.
tty: true
working_dir: /home/node/app
command: "npm start"
ports:
- "127.0.0.1:3001:9090"
environment:
- PORT=9090
- PUBLIC_URL=${PUBLIC_URL}/api/zoomapp/proxy
- REACT_APP_PUBLIC_ROOT=${PUBLIC_URL}
- REACT_APP_AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}
- REACT_APP_AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET}
- REACT_APP_AUTH0_ISSUER_BASE_URL=${AUTH0_ISSUER_BASE_URL}
volumes:
- ./frontend:/home/node/app
- /home/node/app/node_modules
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data:/data