blob: 28eeeb49687428745e3f806e8bc06ecd09e3b674 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
7 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
8 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
19 - ../setup:/root/setup:ro
20
21xos_synchronizer_onos:
22 image: xosproject/xos-synchronizer-openstack
23 command: bash -c "sleep 120; python /opt/xos/synchronizers/onos/onos-synchronizer.py -C /opt/xos/synchronizers/onos/onos_synchronizer_config"
24 labels:
25 org.xosproject.kind: synchronizer
26 org.xosproject.target: onos
27 links:
28 - xos_db
29 extra_hosts:
30 - ctl:${MYIP}
31 volumes:
32 - ../setup/id_rsa:/opt/xos/synchronizers/onos/onos_key:ro # private key
33
34xos_synchronizer_vcpe:
35 image: xosproject/xos-synchronizer-openstack
36 command: bash -c "sleep 120; python /opt/xos/synchronizers/vcpe/vcpe-synchronizer.py -C /opt/xos/synchronizers/vcpe/vcpe_synchronizer_config"
37 labels:
38 org.xosproject.kind: synchronizer
39 org.xosproject.target: vcpe
40 links:
41 - xos_db
42 extra_hosts:
43 - ctl:${MYIP}
44 volumes:
45 - ../setup/id_rsa:/opt/xos/synchronizers/vcpe/vcpe_private_key:ro # private key
46 - ../setup:/root/setup:ro
47
48xos_synchronizer_vbng:
49 image: xosproject/xos-synchronizer-openstack
50 command: bash -c "sleep 120; python /opt/xos/synchronizers/vbng/vbng-synchronizer.py -C /opt/xos/synchronizers/vbng/vbng_synchronizer_config"
51 labels:
52 org.xosproject.kind: synchronizer
53 org.xosproject.target: vbng
54 links:
55 - xos_db
56 extra_hosts:
57 - ctl:${MYIP}
58
59xos_synchronizer_monitoring_channel:
60 image: xosproject/xos-synchronizer-openstack
61 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"
62 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:
70 - ../setup/id_rsa:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key:ro # private key
71
72xos_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
85
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
104 - ../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