-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
45 lines (45 loc) · 971 Bytes
/
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
version: '3.4'
services:
filesend:
build: .
ports:
- 7000:7000
image: "${REGISTRY_NAME}devclubiitd/filesend:0.1"
depends_on:
- turnserver
environment:
- VIRTUAL_HOST
- TRACKER_URL=wss://${TRACKER_URL}
- BASE_ICE_URL=${HOST_IP}:3478
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7000"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
networks:
- "internal"
- "reverseproxy"
logging:
options:
max-size: '12m'
max-file: '5'
turnserver:
ports:
- 3478:3478
- 3478:3478/udp
image: "${REGISTRY_NAME}zolochevska/turn-server"
command: username password realm
restart: unless-stopped
networks:
- "internal"
logging:
options:
max-size: '12m'
max-file: '5'
networks:
reverseproxy:
external:
name: "reverseproxy"
internal: