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: |
| 14 | - "5432" |
| 15 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 16 | xos_bootstrap_ui: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 17 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 18 | networks: |
| 19 | - xos |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 20 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 21 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 22 | - "9001:9001" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 23 | links: |
| 24 | - xos_db |
| 25 | volumes: |
| 26 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
Scott Baker | 7ab0221 | 2016-06-29 14:12:15 -0700 | [diff] [blame] | 27 | - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 28 | - ../../xos_services:/opt/xos_services |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 29 | - ../../xos/xos/core/tests:/opt/xos/core/tests |
Scott Baker | d0c49fd | 2016-12-13 11:48:59 -0800 | [diff] [blame] | 30 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 31 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 32 | logging: |
| 33 | driver: "json-file" |
| 34 | options: |
| 35 | max-size: "1000k" |
| 36 | max-file: "5" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 37 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 38 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 39 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 40 | networks: |
| 41 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 42 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 43 | # command: sleep 86400 |
| 44 | labels: |
| 45 | org.xosproject.kind: synchronizer |
| 46 | org.xosproject.target: onboarding |
| 47 | links: |
| 48 | - xos_db |
| 49 | volumes: |
| 50 | - /var/run/docker.sock:/var/run/docker.sock |
| 51 | - ./key_import:/opt/xos/key_import:ro |
| 52 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 53 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 54 | - ../../xos_libraries:/opt/xos_libraries |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 55 | logging: |
| 56 | driver: "json-file" |
| 57 | options: |
| 58 | max-size: "1000k" |
| 59 | max-file: "5" |
| 60 | |