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: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 10 | image: xosproject/xos-postgres |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 11 | networks: |
| 12 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 13 | expose: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 14 | - "5432" |
Matteo Scandolo | 76d7bcd | 2016-11-30 17:08:17 -0800 | [diff] [blame] | 15 | ports: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 16 | - "5432:5432" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 17 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 18 | xos_redis: |
Matteo Scandolo | d23b7bd | 2016-11-18 15:52:45 -0800 | [diff] [blame] | 19 | image: redis |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 20 | networks: |
| 21 | - xos |
Matteo Scandolo | d23b7bd | 2016-11-18 15:52:45 -0800 | [diff] [blame] | 22 | ports: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 23 | - "6379:6379" |
Matteo Scandolo | d23b7bd | 2016-11-18 15:52:45 -0800 | [diff] [blame] | 24 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 25 | xos_bootstrap_ui: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 26 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 27 | networks: |
| 28 | - xos |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 29 | # command: sleep 86400 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 30 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 31 | environment: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 32 | - CONFIG_DIR |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 33 | ports: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 34 | - "9998:9998" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 35 | links: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 36 | - xos_db |
| 37 | - xos_redis:redis |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 38 | volumes: |
| 39 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
Scott Baker | 7ab0221 | 2016-06-29 14:12:15 -0700 | [diff] [blame] | 40 | - ../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] | 41 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 42 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 43 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 44 | - ../../xos/xos/templates:/opt/xos/templates |
Matteo Scandolo | 4e3bc2a | 2016-07-22 11:19:19 -0700 | [diff] [blame] | 45 | - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 46 | - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| 47 | - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| 48 | - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| 49 | - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 50 | |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 51 | # The following volumes are sometimes used in development, |
| 52 | # but they are not tested and they can break part of the system, handle with care. |
| 53 | # - ../../xos_services:/opt/xos_services |
| 54 | # - ../../xos/xos/core/models:/opt/xos/core/models |
| 55 | # - ../../xos/xos/tosca:/opt/xos/tosca |
| 56 | # - ../../xos/xos/xos:/opt/xos/xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 57 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 58 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 59 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 60 | networks: |
| 61 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 62 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 63 | labels: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 64 | org.xosproject.kind: synchronizer |
| 65 | org.xosproject.target: onboarding |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 66 | links: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 67 | - xos_db |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 68 | volumes: |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 69 | - /var/run/docker.sock:/var/run/docker.sock |
| 70 | - ./key_import:/opt/xos/key_import:ro |
| 71 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 72 | - ../../xos_services:/opt/xos_services |
| 73 | - ../../xos_libraries:/opt/xos_libraries |
| 74 | logging: |
| 75 | driver: "json-file" |
| 76 | options: |
| 77 | max-size: "1000k" |
| 78 | max-file: "5" |
| 79 | |