blob: 40a11f9e39ab6cd89e72e781f24b2da8344081db [file] [log] [blame]
xos_db:
image: xosproject/xos-postgres
expose:
- "5432"
xos_synchronizer_openstack:
command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
image: xosproject/xos-synchronizer-openstack
labels:
org.xosproject.kind: synchronizer
org.xosproject.target: openstack
links:
- xos_db
volumes:
- .:/root/setup:ro
xos_synchronizer_mcordservice:
image: xosproject/xos-synchronizer-openstack
command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_config"
labels:
org.xosproject.kind: synchronizer
org.xosproject.target: mcordservice
links:
- xos_db
volumes:
# - ../setup/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key
- ../setup:/root/setup:ro
# FUTURE
#xos_swarm_synchronizer:
# image: xosproject/xos-swarm-synchronizer
# labels:
# org.xosproject.kind: synchronizer
# org.xosproject.target: swarm
xos:
command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
image: xosproject/xos
links:
- xos_db
ports:
- "8000:8000"
volumes:
- .:/root/setup:ro