-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (28 loc) · 778 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (28 loc) · 778 Bytes
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
version: "3.8"
services:
app:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- MONGODB_URI=mongodb://mongo:27017/project_management_tool
- AUTH0_SECRET=${AUTH0_SECRET}
- AUTH0_BASE_URL=http://localhost:3000
- AUTH0_ISSUER_BASE_URL=${AUTH0_ISSUER_BASE_URL}
- AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID}
- AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET}
- AUTH0_AUDIENCE=${AUTH0_AUDIENCE}
- AUTH0_M2M_CLIENT_ID=${AUTH0_M2M_CLIENT_ID}
- AUTH0_M2M_CLIENT_SECRET=${AUTH0_M2M_CLIENT_SECRET}
- AUTH0_TENANT_DOMAIN=${AUTH0_TENANT_DOMAIN}
depends_on:
- mongo
mongo:
image: mongo:5
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
volumes:
mongo_data: