Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 6 | xos_synchronizer_onboarding: |
| 7 | image: xosproject/xos-synchronizer-onboarding |
Scott Baker | ebbe137 | 2016-06-09 16:11:11 -0700 | [diff] [blame] | 8 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 9 | #command: sleep 86400 |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 10 | 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 Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 24 | xos_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 Bavier | 767f134 | 2016-02-13 08:49:04 -0500 | [diff] [blame] | 33 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
Andy Bavier | 6c0dd9d | 2016-04-21 13:40:26 -0400 | [diff] [blame] | 34 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 35 | - .:/root/setup:ro |
| 36 | - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Andy Bavier | 247d697 | 2016-02-18 16:26:45 -0500 | [diff] [blame] | 37 | - ./images:/opt/xos/images:ro |
Scott Baker | 2f5d0bc | 2016-05-24 15:54:55 -0700 | [diff] [blame] | 38 | log_driver: "json-file" |
| 39 | log_opt: |
| 40 | max-size: "100k" |
| 41 | max-file: "5" |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 42 | |
Scott Baker | b908a0c | 2016-06-14 01:43:59 -0700 | [diff] [blame] | 43 | #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 Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 58 | |
Scott Baker | b91a4a5 | 2016-06-13 15:47:07 -0700 | [diff] [blame] | 59 | #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 Bavier | 767f134 | 2016-02-13 08:49:04 -0500 | [diff] [blame] | 74 | |
Scott Baker | b908a0c | 2016-06-14 01:43:59 -0700 | [diff] [blame] | 75 | #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 Bavier | 767f134 | 2016-02-13 08:49:04 -0500 | [diff] [blame] | 89 | |
Srikanth Vavilapalli | 1c68c47 | 2016-03-02 18:22:04 +0000 | [diff] [blame] | 90 | xos_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 Baker | 2f5d0bc | 2016-05-24 15:54:55 -0700 | [diff] [blame] | 101 | log_driver: "json-file" |
| 102 | log_opt: |
| 103 | max-size: "100k" |
| 104 | max-file: "5" |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 105 | |
Scott Baker | b91a4a5 | 2016-06-13 15:47:07 -0700 | [diff] [blame] | 106 | #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 Baker | 9b2ea62 | 2016-03-07 20:30:42 -0800 | [diff] [blame] | 121 | |
Scott Baker | 01f3d1c | 2016-06-14 11:13:15 -0700 | [diff] [blame] | 122 | #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 Bavier | 1f1f9af | 2016-06-10 17:31:05 -0400 | [diff] [blame] | 136 | |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 137 | xos_bootstrap_ui: |
| 138 | command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 139 | image: xosproject/xos |
| 140 | links: |
| 141 | - xos_db |
| 142 | ports: |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 143 | - "81:81" |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 144 | volumes: |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 145 | # - .:/root/setup:ro |
Andy Bavier | 18a295c | 2016-02-09 14:54:00 -0500 | [diff] [blame] | 146 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
Andy Bavier | 6c0dd9d | 2016-04-21 13:40:26 -0400 | [diff] [blame] | 147 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
Andy Bavier | 4c57580 | 2016-02-09 09:23:27 -0500 | [diff] [blame] | 148 | - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 51190dd | 2016-06-09 13:02:15 -0700 | [diff] [blame] | 149 | # - ./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 Baker | 2f5d0bc | 2016-05-24 15:54:55 -0700 | [diff] [blame] | 152 | log_driver: "json-file" |
| 153 | log_opt: |
| 154 | max-size: "100k" |
| 155 | max-file: "5" |