| xos_db: |
| image: xosproject/xos-postgres |
| expose: |
| - "5432" |
| |
| xos_bootstrap_ui: |
| image: xosproject/xos |
| command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| environment: |
| - CONFIG_DIR |
| ports: |
| - "9998:9998" |
| links: |
| - xos_db |
| volumes: |
| - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| - ../../xos/xos/api/utility:/opt/xos/api/utility |
| - ../../xos/xos/templates:/opt/xos/templates |
| - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
| - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
| |
| # The following volumes are sometimes used in development, |
| # but they are not tested and they can break part of the system, handle with care. |
| # - ../../xos_services:/opt/xos_services |
| # - ../../xos/xos/core/models:/opt/xos/core/models |
| # - ../../xos/xos/tosca:/opt/xos/tosca |
| # - ../../xos/xos/xos:/opt/xos/xos |
| |
| xos_synchronizer_onboarding: |
| image: xosproject/xos |
| command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 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 |
| - ../../xos_services:/opt/xos_services |
| log_driver: "json-file" |
| log_opt: |
| max-size: "100k" |
| max-file: "5" |