Srikanth Vavilapalli | f95cd5b | 2016-07-10 19:08:04 +0000 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_bootstrap_ui: |
| 7 | image: xosproject/xos |
| 8 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 9 | environment: |
| 10 | - CONFIG_DIR |
| 11 | ports: |
| 12 | - "9998:9998" |
| 13 | links: |
| 14 | - xos_db |
| 15 | volumes: |
| 16 | - ../setup:/root/setup:ro |
| 17 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| 18 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 19 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 20 | - ../../xos_libraries:/opt/xos_libraries |
Srikanth Vavilapalli | f95cd5b | 2016-07-10 19:08:04 +0000 | [diff] [blame] | 21 | |
| 22 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 23 | image: xosproject/xos |
Srikanth Vavilapalli | f95cd5b | 2016-07-10 19:08:04 +0000 | [diff] [blame] | 24 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 25 | # command: sleep 86400 |
| 26 | labels: |
| 27 | org.xosproject.kind: synchronizer |
| 28 | org.xosproject.target: onboarding |
| 29 | links: |
| 30 | - xos_db |
| 31 | volumes: |
| 32 | - /var/run/docker.sock:/var/run/docker.sock |
| 33 | - ./key_import:/opt/xos/key_import:ro |
| 34 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 35 | - ../../xos_services:/opt/xos_services |
| 36 | log_driver: "json-file" |
| 37 | log_opt: |
| 38 | max-size: "100k" |
| 39 | max-file: "5" |
| 40 | |
| 41 | xos_synchronizer_openstack: |
| 42 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 43 | image: xosproject/xos-synchronizer-openstack |
| 44 | labels: |
| 45 | org.xosproject.kind: synchronizer |
| 46 | org.xosproject.target: openstack |
| 47 | links: |
| 48 | - xos_db |
| 49 | extra_hosts: |
| 50 | - ctl:${MYIP} |
| 51 | volumes: |
| 52 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 53 | - ../setup:/root/setup:ro |
| 54 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 55 | - ./images:/opt/xos/images:ro |
| 56 | log_driver: "json-file" |
| 57 | log_opt: |
| 58 | max-size: "100k" |
| 59 | max-file: "5" |