mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-01 18:01:40 +08:00
'/tmp/module_build_service/module_build_service.egg-info' volume is needed for proper egg-info propagation ; other containers must wait till base container finishes
This commit is contained in:
@@ -3,16 +3,17 @@ services:
|
||||
|
||||
base:
|
||||
build: .
|
||||
command: bash -c "mbs-upgradedb && mbs-gencert"
|
||||
command: bash -c "mbs-upgradedb && mbs-gencert && touch /etc/module-build-service/.ready"
|
||||
volumes:
|
||||
- ./:/tmp/module_build_service:z
|
||||
- /etc/module-build-service
|
||||
- /tmp/module_build_service/module_build_service.egg-info
|
||||
|
||||
fedmsg-relay:
|
||||
depends_on:
|
||||
- base
|
||||
build: .
|
||||
command: fedmsg-relay
|
||||
command: bash -c "while [ ! -f /etc/module-build-service/.ready ] ; do sleep 1 ; done ; fedmsg-relay"
|
||||
expose:
|
||||
- 2001
|
||||
- 2003
|
||||
@@ -25,7 +26,7 @@ services:
|
||||
depends_on:
|
||||
- base
|
||||
build: .
|
||||
command: fedmsg-hub
|
||||
command: bash -c "while [ ! -f /etc/module-build-service/.ready ] ; do sleep 1 ; done ; fedmsg-hub"
|
||||
links:
|
||||
- fedmsg-relay
|
||||
environment:
|
||||
@@ -43,7 +44,7 @@ services:
|
||||
depends_on:
|
||||
- base
|
||||
build: .
|
||||
command: mbs-frontend
|
||||
command: bash -c "while [ ! -f /etc/module-build-service/.ready ] ; do sleep 1 ; done ; mbs-frontend"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
links:
|
||||
|
||||
Reference in New Issue
Block a user