Scott Baker | f93a06c | 2016-07-11 17:04:49 -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 | |
| 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" |
| 43 | |
| 44 | xos_bootstrap_ui: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 45 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 46 | environment: |
| 47 | - CONFIG_DIR |
| 48 | image: xosproject/xos |
| 49 | links: |
| 50 | - xos_db |
| 51 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 52 | - "9001:9001" |
Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 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 |
| 56 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 57 | - ../../xos_services:/opt/xos_services |
| 58 | log_driver: "json-file" |
| 59 | log_opt: |
| 60 | max-size: "100k" |
| 61 | max-file: "5" |