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_bootstrap_ui: |
| 7 | image: xosproject/xos |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 8 | # command: sleep 86400 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 9 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 10 | environment: |
| 11 | - CONFIG_DIR |
| 12 | ports: |
| 13 | - "9998:9998" |
| 14 | links: |
| 15 | - xos_db |
| 16 | volumes: |
| 17 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
Scott Baker | 7ab0221 | 2016-06-29 14:12:15 -0700 | [diff] [blame] | 18 | - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 19 | - ../../xos_services:/opt/xos_services |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 20 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
| 21 | - ../../xos/xos/core:/opt/xos/core |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 22 | |
| 23 | xos_synchronizer_onboarding: |
| 24 | image: xosproject/xos-synchronizer-onboarding |
| 25 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 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" |