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 | |
Matteo Scandolo | 82d64ac | 2017-01-13 09:49:35 -0800 | [diff] [blame] | 16 | xos_redis: |
| 17 | image: redis |
| 18 | networks: |
| 19 | - xos |
| 20 | ports: |
| 21 | - "6379:6379" |
| 22 | logging: |
| 23 | driver: "json-file" |
| 24 | options: |
| 25 | max-size: "1000k" |
| 26 | max-file: "5" |
| 27 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 28 | xos_bootstrap_ui: |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 29 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 30 | networks: |
| 31 | - xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 32 | # command: sleep 86400 |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 33 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 34 | environment: |
| 35 | - CONFIG_DIR |
| 36 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 37 | - "9001:9001" |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 38 | links: |
| 39 | - xos_db |
| 40 | volumes: |
| 41 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| 42 | - ../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] | 43 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 44 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 45 | - ../../xos_services:/opt/xos_services |
| 46 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
| 47 | - ../../xos/xos/core/models:/opt/xos/core/models |
| 48 | - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
| 49 | - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| 50 | - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| 51 | - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| 52 | - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
| 53 | - ../../xos/xos/xos:/opt/xos/xos |
| 54 | - ../../xos/xos/tosca:/opt/xos/tosca |
| 55 | - ../../xos/xos/synchronizers:/opt/xos/synchronizers |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 56 | logging: |
| 57 | driver: "json-file" |
| 58 | options: |
| 59 | max-size: "1000k" |
| 60 | max-file: "5" |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 61 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 62 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 63 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 64 | networks: |
| 65 | - xos |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 66 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 67 | labels: |
| 68 | org.xosproject.kind: synchronizer |
| 69 | org.xosproject.target: onboarding |
| 70 | links: |
| 71 | - xos_db |
| 72 | volumes: |
| 73 | - /var/run/docker.sock:/var/run/docker.sock |
| 74 | - ./key_import:/opt/xos/key_import:ro |
| 75 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 76 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 77 | - ../../xos_libraries:/opt/xos_libraries |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 78 | logging: |
| 79 | driver: "json-file" |
| 80 | options: |
| 81 | max-size: "1000k" |
| 82 | max-file: "5" |