-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
93 lines (85 loc) · 2.87 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
86
87
88
89
90
91
92
93
version: '3.7'
services:
displaytrigger:
image: superlimitbreak/displaytrigger:latest
build:
context: ${ROOT_FOLDER}
dockerfile: ${PWD}/Dockerfile
ports:
- "80:80"
volumes:
- ${PATH_HOST_media}:/srv/media/:ro
#- ${ROOT_FOLDER}/displayTrigger/eventmap:/srv/eventmap/:ro
#- ${PATH_HOST_media}/eventmap:/srv/eventmap/:ro # Attempt to simplify the deployment. eventmap .json files are in the root of media
#- ${PATH_HOST_media}/stageconfig:/srv/stageconfig/:ro
links:
#- subscriptionserver # temp
- subscriptionserver_bridge
- mediainfoservice
#- stageorchestration
subscriptionserver:
image: superlimitbreak/subscriptionserver2:latest
build:
context: ${ROOT_FOLDER}/multisocketServer/subscriptionServer2
ports:
- "9873:9873"
#command: --log_level 10 # for debuging
subscriptionserver_bridge:
image: superlimitbreak/subscriptionserver_bridge:latest
build:
context: ${ROOT_FOLDER}/multisocketServer/webBridge
args:
PORT: 10794
expose:
- 10794
links:
- subscriptionserver
command: [
'ws://subscriptionserver:9873',
'--port', '10794', # wanted this to part of base dockerfile, but no. cant use environment vars in entrypoints
]
mediainfoservice:
image: superlimitbreak/mediainfoservice:latest
build:
context: ${ROOT_FOLDER}/mediaInfoService
volumes:
- ${PATH_HOST_media}:/srv/media:ro
expose:
- 8331
command: [
'/srv/media',
]
mediatimelinerenderer:
image: superlimitbreak/mediatimelinerenderer:latest
build:
context: ${ROOT_FOLDER}/mediaTimelineRenderer
volumes:
- ${PATH_HOST_media}:/srv/media
command: [
'/srv/media',
'--daemon_scan_interval_seconds', '60',
]
stageorchestration:
image: superlimitbreak/stageorchestration:latest
build:
context: ${ROOT_FOLDER}/stageOrchestration
ports:
- "23487:23487"
#expose:
# - 23487
#volumes:
#- ${ROOT_FOLDER}/stageOrchestration/data/sequences:/stageOrchestration/data/sequences/:ro
#- ${PATH_HOST_media}/stageOrchestrationSequences:/stageOrchestration/data/sequences/:ro
#- ${PATH_HOST_media}/stageDescription:/stageOrchestration/data/stageDescription/:ro
links:
#- mediainfoservice
- subscriptionserver
command: [
'--config=config.development.yaml',
'--subscriptionserver_uri=ws://subscriptionserver:9873',
'--media_url=http://displaytrigger/media',
'--mediainfo_url=http://displaytrigger/mediainfo',
'--timeoffset_lights_seconds=${STAGEORCHESTRATION_timeoffset_lights_seconds}',
'--timeoffset_media_seconds=${STAGEORCHESTRATION_timeoffset_media_seconds}',
]
# TODO: Add udp->websocket bridge?