Files
fm-orchestrator/docker-compose.yml

52 lines
1.3 KiB
YAML

version: "2"
services:
fedmsg-relay:
build: .
command: fedmsg-relay
expose:
- 2001
- 2003
volumes:
# module_build_service sources are bind-mounted, so you don't have to rebuild
- ./:/opt/module_build_service/:z
scheduler:
build: .
command: python2 /opt/module_build_service/module_build_service_daemon.py
links:
- fedmsg-relay
volumes:
# module_build_service sources are bind-mounted, so you don't have to rebuild
- ./:/opt/module_build_service/:z
- ~/.fedora.cert:/root/.fedora.cert:z # koji credentials are mounted inside
- ~/.fedora-server-ca.cert:/root/.fedora-server-ca.cert:z
- ~/.fedora-upload-ca.cert:/root/.fedora-upload-ca.cert:z
frontend:
build: .
ports:
- "5000:5000"
links:
- scheduler
- fedmsg-relay
depends_on:
- upgradedb
- generatelocalhostcert
volumes:
# module_build_service sources are bind-mounted, so you don't have to rebuild
- ./:/opt/module_build_service/:z
command: python2 manage.py runssl
upgradedb:
build: .
volumes:
- ./:/opt/module_build_service/:z
command: python2 manage.py upgradedb
generatelocalhostcert:
build: .
volumes:
- ./:/opt/module_build_service/:z
command: python2 manage.py generatelocalhostcert