blob: 83bb68539ffbd6cd899f5b3cce0945cecf459efa [file] [log] [blame]
Andy Bavier4c575802016-02-09 09:23:27 -05001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
Scott Baker51190dd2016-06-09 13:02:15 -07006xos_synchronizer_onboarding:
7 image: xosproject/xos-synchronizer-onboarding
Scott Bakerebbe1372016-06-09 16:11:11 -07008 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
9 #command: sleep 86400
Scott Baker51190dd2016-06-09 13:02:15 -070010 labels:
11 org.xosproject.kind: synchronizer
12 org.xosproject.target: onboarding
13 links:
14 - xos_db
15 volumes:
16 - /var/run/docker.sock:/var/run/docker.sock
17 - ./key_import:/opt/xos/key_import:ro
18 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
19 log_driver: "json-file"
20 log_opt:
21 max-size: "100k"
22 max-file: "5"
23
Andy Bavier4c575802016-02-09 09:23:27 -050024xos_synchronizer_openstack:
25 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
26 image: xosproject/xos-synchronizer-openstack
27 labels:
28 org.xosproject.kind: synchronizer
29 org.xosproject.target: openstack
30 links:
31 - xos_db
32 volumes:
Andy Bavier767f1342016-02-13 08:49:04 -050033 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Andy Bavier6c0dd9d2016-04-21 13:40:26 -040034 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Andy Bavier4c575802016-02-09 09:23:27 -050035 - .:/root/setup:ro
36 - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Andy Bavier247d6972016-02-18 16:26:45 -050037 - ./images:/opt/xos/images:ro
Scott Baker2f5d0bc2016-05-24 15:54:55 -070038 log_driver: "json-file"
39 log_opt:
40 max-size: "100k"
41 max-file: "5"
Andy Bavier4c575802016-02-09 09:23:27 -050042
Scott Bakerb908a0c2016-06-14 01:43:59 -070043#xos_synchronizer_onos:
44# image: xosproject/xos-synchronizer-openstack
45# command: bash -c "python /opt/xos/synchronizers/onos/onos-synchronizer.py -C /opt/xos/synchronizers/onos/onos_synchronizer_config"
46# labels:
47# org.xosproject.kind: synchronizer
48# org.xosproject.target: onos
49# links:
50# - xos_db
51# volumes:
52# - .:/root/setup:ro
53# - ./id_rsa:/opt/xos/synchronizers/onos/onos_key:ro # private key
54# log_driver: "json-file"
55# log_opt:
56# max-size: "100k"
57# max-file: "5"
Andy Bavier4c575802016-02-09 09:23:27 -050058
Scott Bakerb91a4a52016-06-13 15:47:07 -070059#xos_synchronizer_vcpe:
60# image: xosproject/xos-synchronizer-openstack
61# command: bash -c "sleep 120; cp /root/setup/node_key /opt/xos/synchronizers/vcpe/; chmod 0600 /opt/xos/synchronizers/vcpe/node_key; python /opt/xos/synchronizers/vcpe/vcpe-synchronizer.py -C /root/setup/files/vcpe_synchronizer_config"
62# labels:
63# org.xosproject.kind: synchronizer
64# org.xosproject.target: vcpe
65# links:
66# - xos_db
67# volumes:
68# - .:/root/setup:ro
69# - ./id_rsa:/opt/xos/synchronizers/vcpe/vcpe_private_key:ro # private key
70# log_driver: "json-file"
71# log_opt:
72# max-size: "100k"
73# max-file: "5"
Andy Bavier767f1342016-02-13 08:49:04 -050074
Scott Bakerb908a0c2016-06-14 01:43:59 -070075#xos_synchronizer_vtn:
76# image: xosproject/xos-synchronizer-openstack
77# command: bash -c "sleep 120; python /opt/xos/synchronizers/vtn/vtn-synchronizer.py -C /opt/xos/synchronizers/vtn/vtn_synchronizer_config"
78# labels:
79# org.xosproject.kind: synchronizer
80# org.xosproject.target: vtn
81# links:
82# - xos_db
83# volumes:
84# - .:/root/setup:ro
85# log_driver: "json-file"
86# log_opt:
87# max-size: "100k"
88# max-file: "5"
Andy Bavier767f1342016-02-13 08:49:04 -050089
Srikanth Vavilapalli1c68c472016-03-02 18:22:04 +000090xos_synchronizer_monitoring_channel:
91 image: xosproject/xos-synchronizer-openstack
92 command: bash -c "sleep 120; python /opt/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer.py -C /root/setup/files/monitoring_channel_synchronizer_config"
93 labels:
94 org.xosproject.kind: synchronizer
95 org.xosproject.target: monitoring_channel
96 links:
97 - xos_db
98 volumes:
99 - .:/root/setup:ro
100 - ./id_rsa:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key:ro # private key
Scott Baker2f5d0bc2016-05-24 15:54:55 -0700101 log_driver: "json-file"
102 log_opt:
103 max-size: "100k"
104 max-file: "5"
Andy Bavier4c575802016-02-09 09:23:27 -0500105
Scott Bakerb91a4a52016-06-13 15:47:07 -0700106#xos_synchronizer_vtr:
107# image: xosproject/xos-synchronizer-openstack
108# command: bash -c "sleep 120; cp /root/setup/node_key /opt/xos/synchronizers/vtr/; chmod 0600 /opt/xos/synchronizers/vtr/node_key; python /opt/xos/synchronizers/vtr/vtr-synchronizer.py -C /root/setup/files/vtr_synchronizer_config"
109# labels:
110# org.xosproject.kind: synchronizer
111# org.xosproject.target: vtr
112# links:
113# - xos_db
114# volumes:
115# - .:/root/setup:ro
116# - ./id_rsa:/opt/xos/synchronizers/vtr/vcpe_private_key:ro # private key
117# log_driver: "json-file"
118# log_opt:
119# max-size: "100k"
120# max-file: "5"
Scott Baker9b2ea622016-03-07 20:30:42 -0800121
Scott Baker01f3d1c2016-06-14 11:13:15 -0700122#xos_synchronizer_fabric:
123# image: xosproject/xos-synchronizer-openstack
124# command: bash -c "sleep 120; python /opt/xos/synchronizers/fabric/fabric-synchronizer.py -C /opt/xos/synchronizers/fabric/fabric_synchronizer_config"
125# labels:
126# org.xosproject.kind: synchronizer
127# org.xosproject.target: fabric
128# links:
129# - xos_db
130# volumes:
131# - .:/root/setup:ro
132# log_driver: "json-file"
133# log_opt:
134# max-size: "100k"
135# max-file: "5"
Andy Bavier1f1f9af2016-06-10 17:31:05 -0400136
Scott Baker51190dd2016-06-09 13:02:15 -0700137xos_bootstrap_ui:
138 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
Andy Bavier4c575802016-02-09 09:23:27 -0500139 image: xosproject/xos
140 links:
141 - xos_db
142 ports:
Scott Baker51190dd2016-06-09 13:02:15 -0700143 - "81:81"
Andy Bavier4c575802016-02-09 09:23:27 -0500144 volumes:
Scott Baker51190dd2016-06-09 13:02:15 -0700145# - .:/root/setup:ro
Andy Bavier18a295c2016-02-09 14:54:00 -0500146 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Andy Bavier6c0dd9d2016-04-21 13:40:26 -0400147 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Andy Bavier4c575802016-02-09 09:23:27 -0500148 - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker51190dd2016-06-09 13:02:15 -0700149# - ./id_rsa.pub:/opt/xos/synchronizers/onos/onos_key.pub:ro
150# - ./id_rsa.pub:/opt/xos/synchronizers/vcpe/vcpe_public_key:ro
151# - ./id_rsa.pub:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_public_key:ro
Scott Baker2f5d0bc2016-05-24 15:54:55 -0700152 log_driver: "json-file"
153 log_opt:
154 max-size: "100k"
155 max-file: "5"