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 |
| 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 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
| 17 | - ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 18 | - ../../xos_services:/opt/xos_services |
| 19 | |
| 20 | xos_synchronizer_onboarding: |
| 21 | image: xosproject/xos-synchronizer-onboarding |
| 22 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
| 23 | # command: sleep 86400 |
| 24 | labels: |
| 25 | org.xosproject.kind: synchronizer |
| 26 | org.xosproject.target: onboarding |
| 27 | links: |
| 28 | - xos_db |
| 29 | volumes: |
| 30 | - /var/run/docker.sock:/var/run/docker.sock |
| 31 | - ./key_import:/opt/xos/key_import:ro |
| 32 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 33 | - ../../xos_services:/opt/xos_services |
| 34 | log_driver: "json-file" |
| 35 | log_opt: |
| 36 | max-size: "100k" |
| 37 | max-file: "5" |