-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
149 lines (141 loc) · 2.98 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
version: "3.4"
x-client-config:
&default-environment
dl_LicenseMode: "LicenseFree"
dl_LicenseServer: ""
dl_Region: ""
dl_LauncherListeningPort: "17000"
dl_LauncherServiceStartupDelay: "60"
dl_AutoConfigurationPort: "17001"
dl_SlaveStartupPort: "17003"
dl_SlaveDataRoot: ""
dl_RestartStalledSlave: "false"
dl_NoGuiMode: "true"
dl_LaunchSlaveAtStartup: "false"
dl_AutoUpdateOverride: ""
dl_ConnectionType: "Repository"
dl_NetworkRoot: "/repo"
dl_DbSSLCertificate: ""
services:
db:
image: mongo:3.6.21
ports:
- target: 27017
published: 27017
protocol: tcp
mode: host
networks:
- net
volumes:
- type: volume
source: db
target: /data/db
repository:
build:
context: repository
image: deadline-repository
depends_on:
- db
healthcheck:
test: ["CMD", "stat", "/repo/settings/repository.ini"]
interval: 10s
timeout: 5s
retries: 10
start_period: 1m
networks:
- net
environment:
dl_prefix: "/repo"
dl_mode: "unattended"
dl_debuglevel: "4"
dl_setpermissions: "true"
dl_installmongodb: "false"
dl_requireSSL: "false"
dl_dbssl: "false"
dl_dbhost: "db"
dl_dbport: "27017"
dl_dbname: "deadline10db"
dl_dbauth: "false"
volumes:
- type: volume
source: repo
target: /repo
restart: on-failure
rcs:
build:
context: client
image: deadline-client
depends_on:
- db
- repository
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 5s
retries: 10
start_period: 1m
ports:
- target: 8080
published: 8080
protocol: tcp
mode: host
networks:
- net
environment: *default-environment
volumes:
- type: volume
source: repo
target: /repo
restart: on-failure
command: ./run.sh deadlinercs.exe
web:
build:
context: client
image: deadline-client
depends_on:
- db
- repository
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8082/"]
interval: 30s
timeout: 5s
retries: 10
start_period: 1m
ports:
- target: 8082
published: 8082
protocol: tcp
mode: host
networks:
- net
volumes:
- type: volume
source: repo
target: /repo
environment: *default-environment
restart: on-failure
command: ./run.sh deadlinewebservice.exe
worker:
build:
context: client
image: deadline-client
depends_on:
- db
- repository
networks:
- net
volumes:
- type: volume
source: repo
target: /repo
environment: *default-environment
restart: on-failure
command: ./run.sh deadlineslave.exe -nogui
networks:
net:
internal: false
driver: bridge
attachable: true
volumes:
repo:
db: