blob: 882904af791e6ab120ae9ea7c2aa794e4b5c80e1 [file] [log] [blame]
Andy Bavier5d1c3432016-01-05 09:56:05 -05001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
7 image: xosproject/xos-synchronizer-openstack
Andy Bavier499a8b22016-01-20 16:30:51 -08008 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
Andy Bavier5d1c3432016-01-05 09:56:05 -05009 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
12 links:
13 - xos_db
14 extra_hosts:
Andy Bavier4490ee92016-01-05 16:17:14 -050015 - ctl:${MYIP}
Andy Bavier6d048612016-01-06 16:48:04 -050016 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Andy Bavier5d1c3432016-01-05 09:56:05 -050018
Pingping Linfa30bae2016-03-03 09:52:24 -080019xos_synchronizer_helloworldservice_complete:
20 image: xosproject/xos-synchronizer-openstack
21 command: bash -c "sleep 120; python /opt/xos/synchronizers/helloworldservice_complete/helloworldservice-synchronizer.py -C /opt/xos/synchronizers/helloworldservice_complete/helloworldservice_config"
22 labels:
23 org.xosproject.kind: synchronizer
24 org.xosproject.target: helloworldservice_complete
25 links:
26 - xos_db
27 extra_hosts:
28 - ctl:${MYIP}
29 volumes:
30 - ../setup/id_rsa:/opt/xos/synchronizers/helloworldservice_complete/helloworldservice_complete_private_key:ro # private key
31 - ../setup:/root/setup:ro
32
33xos_synchronizer_mcordservice:
34 image: xosproject/xos-synchronizer-openstack
35 command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_config"
36 labels:
37 org.xosproject.kind: synchronizer
38 org.xosproject.target: mcordservice
39 links:
40 - xos_db
41 extra_hosts:
42 - ctl:${MYIP}
43 volumes:
44 - ../setup/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key
45 - ../setup:/root/setup:ro
Andy Bavier5d1c3432016-01-05 09:56:05 -050046# FUTURE
47#xos_swarm_synchronizer:
48# image: xosproject/xos-swarm-synchronizer
49# labels:
50# org.xosproject.kind: synchronizer
51# org.xosproject.target: swarm
52
53xos:
54 image: xosproject/xos
55 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
56 ports:
57 - "9999:8000"
58 links:
59 - xos_db
60 volumes:
Andy Bavier4490ee92016-01-05 16:17:14 -050061 - ../setup:/root/setup:ro
Andy Bavier5d1c3432016-01-05 09:56:05 -050062 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro