blob: 28eeeb49687428745e3f806e8bc06ecd09e3b674 [file] [log] [blame]
Andy Bavier9da23472016-01-06 16:48:04 -05001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
Andy Bavier205900c2016-01-20 16:30:51 -08007 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
Andy Bavier9da23472016-01-06 16:48:04 -05008 image: xosproject/xos-synchronizer-openstack
9 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
12 links:
13 - xos_db
14 extra_hosts:
15 - ctl:${MYIP}
16 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
18 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Andy Baviered8fdcf2016-01-07 16:33:45 -050019 - ../setup:/root/setup:ro
Andy Bavier9da23472016-01-06 16:48:04 -050020
Andy Bavierc22f24f2016-01-07 11:45:52 -050021xos_synchronizer_onos:
22 image: xosproject/xos-synchronizer-openstack
Andy Bavier205900c2016-01-20 16:30:51 -080023 command: bash -c "sleep 120; python /opt/xos/synchronizers/onos/onos-synchronizer.py -C /opt/xos/synchronizers/onos/onos_synchronizer_config"
Andy Bavierc22f24f2016-01-07 11:45:52 -050024 labels:
25 org.xosproject.kind: synchronizer
26 org.xosproject.target: onos
27 links:
28 - xos_db
29 extra_hosts:
30 - ctl:${MYIP}
31 volumes:
Srikanth Vavilapalli562ba492016-01-25 20:06:43 -050032 - ../setup/id_rsa:/opt/xos/synchronizers/onos/onos_key:ro # private key
Andy Bavier9da23472016-01-06 16:48:04 -050033
Andy Baviered8fdcf2016-01-07 16:33:45 -050034xos_synchronizer_vcpe:
35 image: xosproject/xos-synchronizer-openstack
Andy Bavier205900c2016-01-20 16:30:51 -080036 command: bash -c "sleep 120; python /opt/xos/synchronizers/vcpe/vcpe-synchronizer.py -C /opt/xos/synchronizers/vcpe/vcpe_synchronizer_config"
Andy Baviered8fdcf2016-01-07 16:33:45 -050037 labels:
38 org.xosproject.kind: synchronizer
39 org.xosproject.target: vcpe
40 links:
41 - xos_db
42 extra_hosts:
43 - ctl:${MYIP}
44 volumes:
Srikanth Vavilapalli562ba492016-01-25 20:06:43 -050045 - ../setup/id_rsa:/opt/xos/synchronizers/vcpe/vcpe_private_key:ro # private key
Andy Baviered8fdcf2016-01-07 16:33:45 -050046 - ../setup:/root/setup:ro
Andy Bavier2f904e72016-01-20 13:14:10 -080047
Andy Bavierc22f24f2016-01-07 11:45:52 -050048xos_synchronizer_vbng:
49 image: xosproject/xos-synchronizer-openstack
Andy Bavier205900c2016-01-20 16:30:51 -080050 command: bash -c "sleep 120; python /opt/xos/synchronizers/vbng/vbng-synchronizer.py -C /opt/xos/synchronizers/vbng/vbng_synchronizer_config"
Andy Bavierc22f24f2016-01-07 11:45:52 -050051 labels:
52 org.xosproject.kind: synchronizer
53 org.xosproject.target: vbng
54 links:
55 - xos_db
56 extra_hosts:
57 - ctl:${MYIP}
Andy Bavier9da23472016-01-06 16:48:04 -050058
Andy Baviered8fdcf2016-01-07 16:33:45 -050059xos_synchronizer_monitoring_channel:
60 image: xosproject/xos-synchronizer-openstack
Andy Bavier205900c2016-01-20 16:30:51 -080061 command: bash -c "sleep 120; python /opt/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer.py -C /opt/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer_config"
Andy Baviered8fdcf2016-01-07 16:33:45 -050062 labels:
63 org.xosproject.kind: synchronizer
64 org.xosproject.target: monitoring_channel
65 links:
66 - xos_db
67 extra_hosts:
68 - ctl:${MYIP}
69 volumes:
Srikanth Vavilapalli562ba492016-01-25 20:06:43 -050070 - ../setup/id_rsa:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key:ro # private key
Andy Baviered8fdcf2016-01-07 16:33:45 -050071
Scott Baker40d741c2016-03-06 22:59:10 -080072xos_synchronizer_vtr:
73 image: xosproject/xos-synchronizer-openstack
74 command: bash -c "sleep 120; python /opt/xos/synchronizers/vtr/vtr-synchronizer.py -C /opt/xos/synchronizers/vtr/vtr_synchronizer_config"
75 labels:
76 org.xosproject.kind: synchronizer
77 org.xosproject.target: vtr
78 links:
79 - xos_db
80 extra_hosts:
81 - ctl:${MYIP}
82 volumes:
83 - ../setup/id_rsa:/opt/xos/synchronizers/vtr/vcpe_private_key:ro # private key
84 - ../setup:/root/setup:ro
Andy Bavier9da23472016-01-06 16:48:04 -050085
86# FUTURE
87#xos_swarm_synchronizer:
88# image: xosproject/xos-swarm-synchronizer
89# labels:
90# org.xosproject.kind: synchronizer
91# org.xosproject.target: swarm
92
93xos:
94 image: xosproject/xos
95 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
96 ports:
97 - "9999:8000"
98 links:
99 - xos_db
100 volumes:
101 - ../setup:/root/setup:ro
102 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
103 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Srikanth Vavilapalli562ba492016-01-25 20:06:43 -0500104 - ../setup/id_rsa.pub:/opt/xos/synchronizers/onos/onos_key.pub:ro
105 - ../setup/id_rsa.pub:/opt/xos/synchronizers/vcpe/vcpe_public_key:ro
106 - ../setup/id_rsa.pub:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_public_key:ro