Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_synchronizer_openstack: |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 7 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 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 |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 19 | - ../setup:/root/setup:ro |
Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 20 | |
Andy Bavier | c22f24f | 2016-01-07 11:45:52 -0500 | [diff] [blame] | 21 | xos_synchronizer_onos: |
| 22 | image: xosproject/xos-synchronizer-openstack |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 23 | command: bash -c "sleep 120; python /opt/xos/synchronizers/onos/onos-synchronizer.py -C /opt/xos/synchronizers/onos/onos_synchronizer_config" |
Andy Bavier | c22f24f | 2016-01-07 11:45:52 -0500 | [diff] [blame] | 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: |
Srikanth Vavilapalli | 562ba49 | 2016-01-25 20:06:43 -0500 | [diff] [blame] | 32 | - ../setup/id_rsa:/opt/xos/synchronizers/onos/onos_key:ro # private key |
Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 33 | |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 34 | xos_synchronizer_vcpe: |
| 35 | image: xosproject/xos-synchronizer-openstack |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 36 | command: bash -c "sleep 120; python /opt/xos/synchronizers/vcpe/vcpe-synchronizer.py -C /opt/xos/synchronizers/vcpe/vcpe_synchronizer_config" |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 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: |
Srikanth Vavilapalli | 562ba49 | 2016-01-25 20:06:43 -0500 | [diff] [blame] | 45 | - ../setup/id_rsa:/opt/xos/synchronizers/vcpe/vcpe_private_key:ro # private key |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 46 | - ../setup:/root/setup:ro |
Andy Bavier | 2f904e7 | 2016-01-20 13:14:10 -0800 | [diff] [blame] | 47 | |
Andy Bavier | c22f24f | 2016-01-07 11:45:52 -0500 | [diff] [blame] | 48 | xos_synchronizer_vbng: |
| 49 | image: xosproject/xos-synchronizer-openstack |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 50 | command: bash -c "sleep 120; python /opt/xos/synchronizers/vbng/vbng-synchronizer.py -C /opt/xos/synchronizers/vbng/vbng_synchronizer_config" |
Andy Bavier | c22f24f | 2016-01-07 11:45:52 -0500 | [diff] [blame] | 51 | labels: |
| 52 | org.xosproject.kind: synchronizer |
| 53 | org.xosproject.target: vbng |
| 54 | links: |
| 55 | - xos_db |
| 56 | extra_hosts: |
| 57 | - ctl:${MYIP} |
Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 58 | |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 59 | xos_synchronizer_monitoring_channel: |
| 60 | image: xosproject/xos-synchronizer-openstack |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 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" |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 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: |
Srikanth Vavilapalli | 562ba49 | 2016-01-25 20:06:43 -0500 | [diff] [blame] | 70 | - ../setup/id_rsa:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key:ro # private key |
Andy Bavier | ed8fdcf | 2016-01-07 16:33:45 -0500 | [diff] [blame] | 71 | |
Scott Baker | 40d741c | 2016-03-06 22:59:10 -0800 | [diff] [blame] | 72 | xos_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 Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 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 | |
| 93 | xos: |
| 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 Vavilapalli | 562ba49 | 2016-01-25 20:06:43 -0500 | [diff] [blame] | 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 |