-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
60 lines (60 loc) · 1.25 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
services:
liquid-auth:
build: .
restart: no
env_file:
- .env.docker
ports:
- "5173:5173"
depends_on:
- redis
- mongo
command: ["npm", "run", "start:ssr"]
ngrok:
image: ngrok/ngrok:latest
restart: no
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
volumes:
- ./ngrok.yml:/etc/ngrok.yml
ports:
- 4040:4040
redis:
image: redis
restart: always
ports:
- "6379:6379"
mongo:
image: mongo:7.0
restart: no
environment:
- MONGO_INITDB_DATABASE=${DB_NAME:-fido}
- MONGO_INITDB_ROOT_USERNAME=${DB_USERNAME:-algorand}
- MONGO_INITDB_ROOT_PASSWORD=${DB_PASSWORD:-algorand}
ports:
- "27017:27017"
volumes:
- mongo:/data/db
turn:
image: coturn/coturn
restart: no
deploy:
replicas: 0
depends_on:
- mongo
ports:
- "3478:3478"
- "3478:3478/udp"
- "5349:5349"
- "5349:5349/udp"
command:
- "--no-auth"
- "--mongo-userdb"
- "mongodb://${DB_USERNAME:-algorand}:${DB_PASSWORD:-algorand}@mongo:27017/${DB_NAME:-coturn}?authSource=admin&retryWrites=true&w=majority"
- "--redis-userdb"
- "ip=redis dbname=0"
volumes:
mongo: