Files
fm-orchestrator/docker-compose.yml
2016-10-25 20:11:06 +00:00

34 lines
1.0 KiB
YAML

version: "2"
services:
fedmsg-relay:
build:
context: .
command: fedmsg-relay
ports:
- "2003:2003"
- "4001:4001"
module_build_service_daemon:
build:
context: .
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
- ./module_build_service/:/opt/module_build_service/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
module_build_service:
build:
context: .
ports:
- "5000:5000"
links:
- module_build_service_daemon
- fedmsg-relay
volumes:
# module_build_service sources are bind-mounted, so you don't have to rebuild
- ./module_build_service/:/opt/module_build_service/module_build_service/:Z
command: python2 manage.py runssl