-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
93 lines (87 loc) · 2.08 KB
/
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
86
87
88
89
90
91
92
93
services:
#---------- optional services
# Convenient rapid mosquitto and posgres startup configuration
# You will need to configure it depending on your need for custom deployments
broker:
image: eclipse-mosquitto:latest
expose:
- "${BROKER_PORT}"
command: mosquitto -c /mosquitto-no-auth.conf
networks:
- internal
database:
image: postgres:latest
expose:
- "${DB_PORT}"
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
command: -p ${DB_PORT}
networks:
- internal
#----------
migration:
build:
context: .
dockerfile: migration/Dockerfile
env_file:
- .envdefault.docker
environment:
- NODE_ENV=production
depends_on:
- database
networks:
- internal
transcriber:
build:
context: .
dockerfile: Transcriber/Dockerfile
env_file:
- .envdefault.docker
environment:
- DEBUG=transcriber:*
depends_on:
- broker
ports:
- "${STREAMING_PROXY_SRT_UDP_PORT}:${STREAMING_SRT_UDP_PORT}/udp"
- "${STREAMING_PROXY_RTMP_TCP_PORT}:${STREAMING_RTMP_TCP_PORT}"
- "${STREAMING_PROXY_WS_TCP_PORT}:${STREAMING_WS_TCP_PORT}"
networks:
- internal
sessionapi:
build:
context: .
dockerfile: Session-API/Dockerfile
env_file:
- .envdefault.docker
environment:
- DEBUG=session-api:*
expose:
- "${SESSION_API_WEBSERVER_HTTP_PORT}"
ports:
- "${SESSION_API_WEBSERVER_HTTP_PORT}:${SESSION_API_WEBSERVER_HTTP_PORT}"
depends_on:
broker:
condition: service_started
migration:
condition: service_completed_successfully
networks:
- internal
scheduler:
build:
context: .
dockerfile: Scheduler/Dockerfile
env_file:
- .envdefault.docker
environment:
- DEBUG=scheduler:*
depends_on:
broker:
condition: service_started
migration:
condition: service_completed_successfully
networks:
- internal
networks:
internal: