blob: 40a11f9e39ab6cd89e72e781f24b2da8344081db [file] [log] [blame]
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -08001xos_db:
David K. Bainbridge975440c2015-12-09 09:54:40 -08002 image: xosproject/xos-postgres
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -08003 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
Andy Bavier24926192016-01-29 11:42:29 -05007 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -08008 image: xosproject/xos-synchronizer-openstack
9 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
Andy Bavier24926192016-01-29 11:42:29 -050012 links:
13 - xos_db
14 volumes:
15 - .:/root/setup:ro
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -080016
Pingping Linfa30bae2016-03-03 09:52:24 -080017xos_synchronizer_mcordservice:
18 image: xosproject/xos-synchronizer-openstack
19 command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_config"
20 labels:
21 org.xosproject.kind: synchronizer
22 org.xosproject.target: mcordservice
23 links:
24 - xos_db
25 volumes:
26# - ../setup/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key
27 - ../setup:/root/setup:ro
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -080028# FUTURE
29#xos_swarm_synchronizer:
30# image: xosproject/xos-swarm-synchronizer
31# labels:
32# org.xosproject.kind: synchronizer
33# org.xosproject.target: swarm
34
35xos:
David K. Bainbridge50667652015-12-03 20:26:41 -080036 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
Andy Bavier24926192016-01-29 11:42:29 -050037 image: xosproject/xos
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -080038 links:
39 - xos_db
Andy Bavier24926192016-01-29 11:42:29 -050040 ports:
Andy Bavier6e6a1342016-01-29 11:50:12 -050041 - "8000:8000"
Andy Bavier24926192016-01-29 11:42:29 -050042 volumes:
43 - .:/root/setup:ro