-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 938 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 938 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.2'
networks:
backend:
frontend:
api:
services:
db:
networks:
- backend
image: mongo:noble
restart: always
environment:
- MONGO_INIT_ROOT_USERNAME=chattr
- MONGO_INIT_ROOT_PASSWORD=chattr
ports:
- 27017:27017
api:
depends_on:
- db
restart: unless-stopped
networks:
- backend
- api
image: docker.io/brinestone/chattr-server:1.0
environment:
- SERVER_PORT=9000
- JWT_KEY=test
- NODE_ENV=production
- DB_URI=mongodb://chattr:chattr@db:27017
- RTC_MIN_PORT=40000
- RTC_MAX_PORT=50000
- DTLS_CERT_PATH=
- DTLS_PRIVATE_PATH=
- TRANSPORT_PROTOCOL=udp
- ANNOUNCED_IP=
web-client:
depends_on:
- api
networks:
- frontend
- api
image: docker.io/brinestone/chattr-web-client:1.0
environment:
- PORT=4100
- API_ORIGIN=http://api:9000