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 |
| 20 | logging: |
| 21 | driver: "json-file" |
| 22 | options: |
| 23 | max-size: "1000k" |
| 24 | max-file: "5" |
Sapan Bhatia | 33d0add | 2016-08-31 18:31:55 +0200 | [diff] [blame] | 25 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 26 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 27 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 28 | networks: |
| 29 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 30 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 31 | #command: sleep 86400 |
| 32 | labels: |
| 33 | org.xosproject.kind: synchronizer |
| 34 | org.xosproject.target: onboarding |
| 35 | links: |
| 36 | - xos_db |
| 37 | volumes: |
| 38 | - /var/run/docker.sock:/var/run/docker.sock |
| 39 | - ./key_import:/opt/xos/key_import:ro |
| 40 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 41 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 42 | - ../../xos_libraries:/opt/xos_libraries |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 43 | logging: |
| 44 | driver: "json-file" |
| 45 | options: |
| 46 | max-size: "1000k" |
| 47 | max-file: "5" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 48 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 49 | xos_bootstrap_ui: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 50 | command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations |
| 51 | environment: |
| 52 | - CONFIG_DIR |
| 53 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 54 | networks: |
| 55 | - xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 56 | links: |
| 57 | - xos_db |
| 58 | ports: |
| 59 | - "81:81" |
| 60 | volumes: |
| 61 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 62 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
Scott Baker | 04402d1 | 2016-06-28 12:46:27 -0700 | [diff] [blame] | 63 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 64 | - ../../xos_services:/opt/xos_services |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 65 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Scott Baker | d0c49fd | 2016-12-13 11:48:59 -0800 | [diff] [blame] | 66 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 67 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 68 | logging: |
| 69 | driver: "json-file" |
| 70 | options: |
| 71 | max-size: "1000k" |
| 72 | max-file: "5" |
| 73 | |