Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 1 | --- |
| 2 | version: '2' |
| 3 | |
| 4 | networks: |
| 5 | xos: |
| 6 | external: true |
| 7 | |
| 8 | services: |
| 9 | xos_db: |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 10 | image: xosproject/xos-postgres |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 11 | networks: |
| 12 | - xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 13 | expose: |
| 14 | - "5432" |
| 15 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 16 | xos_bootstrap_ui: |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 17 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 18 | networks: |
| 19 | - xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 20 | # command: sleep 86400 |
| 21 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 22 | environment: |
| 23 | - CONFIG_DIR |
| 24 | ports: |
| 25 | - "9998:9998" |
| 26 | links: |
| 27 | - xos_db |
| 28 | volumes: |
| 29 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| 30 | - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | d0c49fd | 2016-12-13 11:48:59 -0800 | [diff] [blame] | 31 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 32 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 33 | - ../../xos_services:/opt/xos_services |
| 34 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
| 35 | - ../../xos/xos/core/models:/opt/xos/core/models |
| 36 | - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
| 37 | - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| 38 | - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| 39 | - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| 40 | - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
| 41 | - ../../xos/xos/xos:/opt/xos/xos |
| 42 | - ../../xos/xos/tosca:/opt/xos/tosca |
| 43 | - ../../xos/xos/synchronizers:/opt/xos/synchronizers |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 44 | logging: |
| 45 | driver: "json-file" |
| 46 | options: |
| 47 | max-size: "1000k" |
| 48 | max-file: "5" |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 49 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 50 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 51 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 52 | networks: |
| 53 | - xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 54 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 55 | labels: |
| 56 | org.xosproject.kind: synchronizer |
| 57 | org.xosproject.target: onboarding |
| 58 | links: |
| 59 | - xos_db |
| 60 | volumes: |
| 61 | - /var/run/docker.sock:/var/run/docker.sock |
| 62 | - ./key_import:/opt/xos/key_import:ro |
| 63 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 64 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 65 | - ../../xos_libraries:/opt/xos_libraries |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame^] | 66 | logging: |
| 67 | driver: "json-file" |
| 68 | options: |
| 69 | max-size: "1000k" |
| 70 | max-file: "5" |