forked from jptrsn/zip-captions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (79 loc) · 2.1 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3'
services:
mongodb:
container_name: mongodb
image: mongodb/mongodb-community-server
ports:
- 27017:27017
environment:
- MONGO_INITDB_ROOT_USERNAME=db_user
- MONGO_INITDB_ROOT_PASSWORD=changeme
# client:
# container_name: client
# image: zip_captions_client
# build:
# context: .
# dockerfile: Dockerfile
# target: dev
# volumes:
# - .:/usr/src/app:delegated
# - mono-node-modules:/app/node_modules
# command: 'npm run start:client'
# ports:
# - 4200:4200
# depends_on:
# - signal
# zipcaptions_server:
# container_name: zip-captions-server
# image: zip_captions_server
# build:
# context: .
# dockerfile: Dockerfile
# target: staging_server
# environment:
# - MONGO_DB_URL=${DB_URL}
# - MONGO_DB_PORT=${DB_PORT}
# - MONGO_DB_NAME=${DB_NAME}
# - MONGO_DB_USER=${DB_USER}
# - MONGO_DB_PASSWORD=${DB_PASSWORD}
# - JWT_SECRET=${JWT_SECRET}
# - SESSION_SECRET=${SESSION_SECRET}
# - APP_ORIGIN=http://localhost:4200
# - ALLOWED_ORIGINS=http://localhost:4200
# - GOOGLE_CLIENT_ID=${G_CLIENT_ID}
# - GOOGLE_CLIENT_SECRET=${G_CLIENT_SECRET}
# - GOOGLE_REDIRECT_URI=${G_REDIRECT_URI}
# - AZURE_CLIENT_ID=${A_CLIENT_ID}
# - AZURE_CLIENT_SECRET=${A_CLIENT_SECRET}
# - AZURE_REDIRECT_URI=${A_REDIRECT_URI}
# ports:
# - 3000:3000
# - 9000:9000
# restart: unless-stopped
# signal:
# container_name: signal
# image: zip_captions_server
# build:
# context: .
# dockerfile: Dockerfile
# target: dev
# volumes:
# - .:/usr/src/app:delegated
# - mono-node-modules:/app/node_modules
# command: 'npm run start:signal'
# ports:
# - 3000:3000
# - 9000:9000
# coturn:
# container_name: coturn
# image: coturn/coturn
# ports:
# - "3478"
# - "3478:3478/udp"
# - "3479:3479"
# - "3479:3479/udp"
# - "5349"
# - "5349:5349/udp"
# - "49160-49200"
volumes:
mono-node-modules: null