11# docker-compose version
2- version : ' 3.7'
2+ version : " 3.7"
33
44services :
55 devmail :
@@ -21,7 +21,7 @@ services:
2121 image : ${CONTAINER_REGISTRY}/ruudud/devdns
2222 container_name : devdns
2323 ports :
24- - " 127.0.0.1:53:53/udp"
24+ - " 127.0.0.1:53:53/udp"
2525 volumes :
2626 - /var/run/docker.sock:/var/run/docker.sock:ro
2727 environment :
@@ -43,7 +43,7 @@ services:
4343 # Available target service names follow migrid init script and are:
4444 # httpd script monitor sshmux events cron transfers janitor
4545 # openid sftp sftpsubsys webdavs ftps notify imnotify vmproxy
46- RUN_SERVICES :
46+ RUN_SERVICES :
4747 volumes :
4848 - type : volume
4949 source : httpd
@@ -54,6 +54,9 @@ services:
5454 - type : volume
5555 source : hotfixes
5656 target : /hotfixes
57+ - type : volume
58+ source : mig-server-extconfs
59+ target : /home/mig/mig/server/MiGserver.d
5760 - type : volume
5861 source : certs
5962 target : /etc/httpd/MiG-certificates
@@ -117,6 +120,9 @@ services:
117120 - type : volume
118121 source : hotfixes
119122 target : /hotfixes
123+ - type : volume
124+ source : mig-server-extconfs
125+ target : /home/mig/mig/server/MiGserver.d
120126 - type : volume
121127 source : certs
122128 target : /etc/httpd/MiG-certificates
@@ -169,7 +175,7 @@ services:
169175 migrid-volume-init :
170176 condition : service_completed_successfully
171177 ports :
172- # NOTE: expose the unique raw port(s) to host
178+ # NOTE: expose the unique raw port(s) to host
173179 - " ${OPENID_PORT}:${OPENID_PORT}"
174180 networks :
175181 default :
@@ -185,6 +191,9 @@ services:
185191 - type : volume
186192 source : hotfixes
187193 target : /hotfixes
194+ - type : volume
195+ source : mig-server-extconfs
196+ target : /home/mig/mig/server/MiGserver.d
188197 - type : volume
189198 source : certs
190199 target : /etc/httpd/MiG-certificates
@@ -222,7 +231,7 @@ services:
222231 migrid-volume-init :
223232 condition : service_completed_successfully
224233 ports :
225- # NOTE: expose the unique raw port(s) to host
234+ # NOTE: expose the unique raw port(s) to host
226235 - " ${SFTP_PORT}:${SFTP_PORT}"
227236 - " ${SFTP_SUBSYS_PORT}:${SFTP_SUBSYS_PORT}"
228237 networks :
@@ -239,6 +248,9 @@ services:
239248 - type : volume
240249 source : hotfixes
241250 target : /hotfixes
251+ - type : volume
252+ source : mig-server-extconfs
253+ target : /home/mig/mig/server/MiGserver.d
242254 - type : volume
243255 source : certs
244256 target : /etc/httpd/MiG-certificates
@@ -301,6 +313,9 @@ services:
301313 - type : volume
302314 source : hotfixes
303315 target : /hotfixes
316+ - type : volume
317+ source : mig-server-extconfs
318+ target : /home/mig/mig/server/MiGserver.d
304319 - type : volume
305320 source : certs
306321 target : /etc/httpd/MiG-certificates
@@ -342,7 +357,7 @@ services:
342357 migrid-volume-init :
343358 condition : service_completed_successfully
344359 ports :
345- # NOTE: expose the unique raw port(s) to host
360+ # NOTE: expose the unique raw port(s) to host
346361 - " ${DAVS_PORT}:${DAVS_PORT}"
347362 networks :
348363 default :
@@ -358,6 +373,9 @@ services:
358373 - type : volume
359374 source : hotfixes
360375 target : /hotfixes
376+ - type : volume
377+ source : mig-server-extconfs
378+ target : /home/mig/mig/server/MiGserver.d
361379 - type : volume
362380 source : certs
363381 target : /etc/httpd/MiG-certificates
@@ -397,7 +415,7 @@ services:
397415 migrid :
398416 condition : service_started
399417 ports :
400- # NOTE: expose the unique raw port(s) to host
418+ # NOTE: expose the unique raw port(s) to host
401419 - " 80:80"
402420 - " 443:443"
403421 - " 444:444"
@@ -454,6 +472,14 @@ volumes:
454472 device : ${PERSISTENT_ROOT}/hotfixes
455473 o : bind
456474
475+ mig-server-extconfs :
476+ # Volume used to contain the optional additional mig server config snippets
477+ driver : local
478+ driver_opts :
479+ type : none
480+ device : ${PERSISTENT_ROOT}/mig-server-extconfs
481+ o : bind
482+
457483 state :
458484 # Volume used to contain the migrid state (provided by migrid)
459485 driver : local
0 commit comments