blob: 15d28a62e9e778d74ef402ddeab26af769696985 [file] [log] [blame]
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08001xos_db:
David K. Bainbridgea0241eb2015-12-09 09:54:40 -08002 image: xosproject/xos-postgres
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08003 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
Andy Bavier1e476432016-01-29 11:42:29 -05007 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -08008 image: xosproject/xos-synchronizer-openstack
9 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
Andy Bavier1e476432016-01-29 11:42:29 -050012 links:
13 - xos_db
14 volumes:
15 - .:/root/setup:ro
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -080016
Pingping Linfc9256a2016-03-03 09:52:24 -080017xos_synchronizer_mcordservice:
18 image: xosproject/xos-synchronizer-openstack
Pingping Linea12ea72016-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 Linfc9256a2016-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 Linea12ea72016-04-01 01:53:19 -070026 - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key
Pingping Linfc9256a2016-03-03 09:52:24 -080027 - ../setup:/root/setup:ro
Pingping Linea12ea72016-04-01 01:53:19 -070028
David K. Bainbridge9c24cbf2015-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. Bainbridge8effcc72015-12-03 20:26:41 -080037 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
Andy Bavier1e476432016-01-29 11:42:29 -050038 image: xosproject/xos
David K. Bainbridge9c24cbf2015-12-03 11:49:01 -080039 links:
40 - xos_db
Andy Bavier1e476432016-01-29 11:42:29 -050041 ports:
Andy Bavier797a65f2016-01-29 11:50:12 -050042 - "8000:8000"
Andy Bavier1e476432016-01-29 11:42:29 -050043 volumes:
44 - .:/root/setup:ro
Pingping Linea12ea72016-04-01 01:53:19 -070045 - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key