blob: 15d28a62e9e778d74ef402ddeab26af769696985 [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
Pingping Lin3df9b352016-04-01 01:53:19 -070019 command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_vtnconfig"
Pingping Linfa30bae2016-03-03 09:52:24 -080020 labels:
21 org.xosproject.kind: synchronizer
22 org.xosproject.target: mcordservice
23 links:
24 - xos_db
25 volumes:
Pingping Lin3df9b352016-04-01 01:53:19 -070026 - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key
Pingping Linfa30bae2016-03-03 09:52:24 -080027 - ../setup:/root/setup:ro
Pingping Lin3df9b352016-04-01 01:53:19 -070028
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -080029# FUTURE
30#xos_swarm_synchronizer:
31# image: xosproject/xos-swarm-synchronizer
32# labels:
33# org.xosproject.kind: synchronizer
34# org.xosproject.target: swarm
35
36xos:
David K. Bainbridge50667652015-12-03 20:26:41 -080037 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
Andy Bavier24926192016-01-29 11:42:29 -050038 image: xosproject/xos
David K. Bainbridgeab4a2eb2015-12-03 11:49:01 -080039 links:
40 - xos_db
Andy Bavier24926192016-01-29 11:42:29 -050041 ports:
Andy Bavier6e6a1342016-01-29 11:50:12 -050042 - "8000:8000"
Andy Bavier24926192016-01-29 11:42:29 -050043 volumes:
44 - .:/root/setup:ro
Pingping Lin3df9b352016-04-01 01:53:19 -070045 - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key