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_redis: |
Sapan Bhatia | 33d0add | 2016-08-31 18:31:55 +0200 | [diff] [blame] | 17 | image: redis |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 18 | networks: |
| 19 | - xos |
Matteo Scandolo | 82d64ac | 2017-01-13 09:49:35 -0800 | [diff] [blame] | 20 | ports: |
| 21 | - "6379:6379" |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 22 | logging: |
| 23 | driver: "json-file" |
| 24 | options: |
| 25 | max-size: "1000k" |
| 26 | max-file: "5" |
Sapan Bhatia | 33d0add | 2016-08-31 18:31:55 +0200 | [diff] [blame] | 27 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 28 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 29 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 30 | networks: |
| 31 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 32 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 33 | #command: sleep 86400 |
| 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 |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 45 | logging: |
| 46 | driver: "json-file" |
| 47 | options: |
| 48 | max-size: "1000k" |
| 49 | max-file: "5" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 50 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 51 | xos_bootstrap_ui: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 52 | 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] | 53 | environment: |
| 54 | - CONFIG_DIR |
| 55 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 56 | networks: |
| 57 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 58 | links: |
| 59 | - xos_db |
| 60 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 61 | - "9001:9001" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 62 | volumes: |
| 63 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 64 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
Scott Baker | 04402d1 | 2016-06-28 12:46:27 -0700 | [diff] [blame] | 65 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 66 | - ../../xos_services:/opt/xos_services |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 67 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Scott Baker | d0c49fd | 2016-12-13 11:48:59 -0800 | [diff] [blame] | 68 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 69 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 70 | logging: |
| 71 | driver: "json-file" |
| 72 | options: |
| 73 | max-size: "1000k" |
| 74 | max-file: "5" |
| 75 | |