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