-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
39 lines (37 loc) · 1.15 KB
/
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
services:
backend:
image: mikkimichaelis/irecovery-zoom-backend:test
tty: true
working_dir: /home/node/app
command: ["npm", "run", "start"]
env_file:
- .env
ports:
- "127.0.0.1:3000:3000"
- "127.0.0.1:9229:9229"
environment:
- PORT=3000
- PUBLIC_URL=https://alive-zebra-smoothly.ngrok-free.app
- ZOOM_APP_CLIENT_URL=http://frontend:3000
- ZOOM_APP_REDIRECT_URI=${PUBLIC_URL}/api/zoomapp/auth
- AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}
- AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET}
- AUTH0_ISSUER_BASE_URL=${AUTH0_ISSUER_BASE_URL}
- REDIS_ENCRYPTION_KEY=${REDIS_ENCRYPTION_KEY}
- SESSION_SECRET=${SESSION_SECRET}
- ZOOM_APP_CLIENT_ID=${ZOOM_APP_CLIENT_ID}
- ZOOM_APP_CLIENT_SECRET=${ZOOM_APP_CLIENT_SECRET}
- ZOOM_APP_OAUTH_STATE_SECRET=${ZOOM_APP_OAUTH_STATE_SECRET}
- ZOOM_HOST=${ZOOM_HOST}
- REDIS_URL=redis://redis:6379/1
# volumes:
# - ./backend:/home/node/app
# - /home/node/app/node_modules
depends_on:
- redis
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./redis:/data