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