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: |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 10 | image: xosproject/xos-postgres |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 11 | networks: |
| 12 | - xos |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 13 | expose: |
| 14 | - "5432" |
| 15 | |
JianHao | 2f6dca2 | 2016-12-22 03:44:52 +0000 | [diff] [blame] | 16 | xos_redis: |
| 17 | image: redis |
| 18 | networks: |
| 19 | - xos |
| 20 | logging: |
| 21 | driver: "json-file" |
| 22 | options: |
| 23 | max-size: "1000k" |
| 24 | max-file: "5" |
| 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 |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [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" |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 48 | |
| 49 | #xos_synchronizer_openstack: |
| 50 | # command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 51 | # image: xosproject/xos-synchronizer-openstack |
| 52 | # labels: |
| 53 | # org.xosproject.kind: synchronizer |
| 54 | # org.xosproject.target: openstack |
| 55 | # links: |
| 56 | # - xos_db |
| 57 | # volumes: |
| 58 | # - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 59 | # - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 60 | # - .:/root/setup:ro |
| 61 | # - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 62 | # - ./images:/opt/xos/images:ro |
| 63 | # log_driver: "json-file" |
| 64 | # log_opt: |
| 65 | # max-size: "100k" |
| 66 | # max-file: "5" |
| 67 | |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 68 | xos_bootstrap_ui: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 69 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 70 | environment: |
| 71 | - CONFIG_DIR |
| 72 | image: xosproject/xos |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 73 | networks: |
| 74 | - xos |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 75 | links: |
| 76 | - xos_db |
| 77 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 78 | - "9001:9001" |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 79 | volumes: |
| 80 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 81 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 82 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 83 | - ../../xos_services:/opt/xos_services |
JianHao | 2f6dca2 | 2016-12-22 03:44:52 +0000 | [diff] [blame] | 84 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Scott Baker | d0c49fd | 2016-12-13 11:48:59 -0800 | [diff] [blame] | 85 | - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml |
| 86 | - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml |
Zack Williams | b74c914 | 2016-12-14 17:07:12 -0700 | [diff] [blame] | 87 | logging: |
| 88 | driver: "json-file" |
| 89 | options: |
| 90 | max-size: "1000k" |
| 91 | max-file: "5" |
| 92 | |