Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_bootstrap_ui: |
| 7 | image: xosproject/xos |
| 8 | # command: sleep 86400 |
| 9 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 10 | environment: |
| 11 | - CONFIG_DIR |
| 12 | ports: |
| 13 | - "9998:9998" |
| 14 | links: |
| 15 | - xos_db |
| 16 | volumes: |
| 17 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| 18 | - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 19 | - ../../xos_services:/opt/xos_services |
| 20 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
| 21 | - ../../xos/xos/core/models:/opt/xos/core/models |
| 22 | - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
| 23 | - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| 24 | - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| 25 | - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| 26 | - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
| 27 | - ../../xos/xos/xos:/opt/xos/xos |
| 28 | - ../../xos/xos/tosca:/opt/xos/tosca |
| 29 | - ../../xos/xos/synchronizers:/opt/xos/synchronizers |
| 30 | |
| 31 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 32 | image: xosproject/xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 33 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 34 | labels: |
| 35 | org.xosproject.kind: synchronizer |
| 36 | org.xosproject.target: onboarding |
| 37 | links: |
| 38 | - xos_db |
| 39 | volumes: |
| 40 | - /var/run/docker.sock:/var/run/docker.sock |
| 41 | - ./key_import:/opt/xos/key_import:ro |
| 42 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 43 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 44 | - ../../xos_libraries:/opt/xos_libraries |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 45 | log_driver: "json-file" |
| 46 | log_opt: |
| 47 | max-size: "100k" |
| 48 | max-file: "5" |