| xos_db: |
| image: xosproject/xos-postgres |
| expose: |
| - "5432" |
| |
| xos_synchronizer_onboarding: |
| image: xosproject/xos-synchronizer-onboarding |
| command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| #command: sleep 86400 |
| labels: |
| org.xosproject.kind: synchronizer |
| org.xosproject.target: onboarding |
| links: |
| - xos_db |
| volumes: |
| - /var/run/docker.sock:/var/run/docker.sock |
| - ./key_import:/opt/xos/key_import:ro |
| - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| log_driver: "json-file" |
| log_opt: |
| max-size: "100k" |
| max-file: "5" |
| |
| xos_synchronizer_openstack: |
| command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| image: xosproject/xos-synchronizer-openstack |
| labels: |
| org.xosproject.kind: synchronizer |
| org.xosproject.target: openstack |
| links: |
| - xos_db |
| volumes: |
| - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| - .:/root/setup:ro |
| - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| - ./images:/opt/xos/images:ro |
| log_driver: "json-file" |
| log_opt: |
| max-size: "100k" |
| max-file: "5" |
| |
| #xos_synchronizer_onos: |
| # image: xosproject/xos-synchronizer-openstack |
| # command: bash -c "python /opt/xos/synchronizers/onos/onos-synchronizer.py -C /opt/xos/synchronizers/onos/onos_synchronizer_config" |
| # labels: |
| # org.xosproject.kind: synchronizer |
| # org.xosproject.target: onos |
| # links: |
| # - xos_db |
| # volumes: |
| # - .:/root/setup:ro |
| # - ./id_rsa:/opt/xos/synchronizers/onos/onos_key:ro # private key |
| # log_driver: "json-file" |
| # log_opt: |
| # max-size: "100k" |
| # max-file: "5" |
| |
| #xos_synchronizer_vcpe: |
| # image: xosproject/xos-synchronizer-openstack |
| # 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" |
| # labels: |
| # org.xosproject.kind: synchronizer |
| # org.xosproject.target: vcpe |
| # links: |
| # - xos_db |
| # volumes: |
| # - .:/root/setup:ro |
| # - ./id_rsa:/opt/xos/synchronizers/vcpe/vcpe_private_key:ro # private key |
| # log_driver: "json-file" |
| # log_opt: |
| # max-size: "100k" |
| # max-file: "5" |
| |
| #xos_synchronizer_vtn: |
| # image: xosproject/xos-synchronizer-openstack |
| # command: bash -c "sleep 120; python /opt/xos/synchronizers/vtn/vtn-synchronizer.py -C /opt/xos/synchronizers/vtn/vtn_synchronizer_config" |
| # labels: |
| # org.xosproject.kind: synchronizer |
| # org.xosproject.target: vtn |
| # links: |
| # - xos_db |
| # volumes: |
| # - .:/root/setup:ro |
| # log_driver: "json-file" |
| # log_opt: |
| # max-size: "100k" |
| # max-file: "5" |
| |
| xos_synchronizer_monitoring_channel: |
| image: xosproject/xos-synchronizer-openstack |
| command: bash -c "sleep 120; python /opt/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer.py -C /root/setup/files/monitoring_channel_synchronizer_config" |
| labels: |
| org.xosproject.kind: synchronizer |
| org.xosproject.target: monitoring_channel |
| links: |
| - xos_db |
| volumes: |
| - .:/root/setup:ro |
| - ./id_rsa:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_private_key:ro # private key |
| log_driver: "json-file" |
| log_opt: |
| max-size: "100k" |
| max-file: "5" |
| |
| #xos_synchronizer_vtr: |
| # image: xosproject/xos-synchronizer-openstack |
| # 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" |
| # labels: |
| # org.xosproject.kind: synchronizer |
| # org.xosproject.target: vtr |
| # links: |
| # - xos_db |
| # volumes: |
| # - .:/root/setup:ro |
| # - ./id_rsa:/opt/xos/synchronizers/vtr/vcpe_private_key:ro # private key |
| # log_driver: "json-file" |
| # log_opt: |
| # max-size: "100k" |
| # max-file: "5" |
| |
| #xos_synchronizer_fabric: |
| # image: xosproject/xos-synchronizer-openstack |
| # command: bash -c "sleep 120; python /opt/xos/synchronizers/fabric/fabric-synchronizer.py -C /opt/xos/synchronizers/fabric/fabric_synchronizer_config" |
| # labels: |
| # org.xosproject.kind: synchronizer |
| # org.xosproject.target: fabric |
| # links: |
| # - xos_db |
| # volumes: |
| # - .:/root/setup:ro |
| # log_driver: "json-file" |
| # log_opt: |
| # max-size: "100k" |
| # max-file: "5" |
| |
| xos_bootstrap_ui: |
| command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations |
| image: xosproject/xos |
| links: |
| - xos_db |
| ports: |
| - "81:81" |
| volumes: |
| # - .:/root/setup:ro |
| - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| # - ./id_rsa.pub:/opt/xos/synchronizers/onos/onos_key.pub:ro |
| # - ./id_rsa.pub:/opt/xos/synchronizers/vcpe/vcpe_public_key:ro |
| # - ./id_rsa.pub:/opt/xos/synchronizers/monitoring_channel/monitoring_channel_public_key:ro |
| log_driver: "json-file" |
| log_opt: |
| max-size: "100k" |
| max-file: "5" |