Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -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 | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 8 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -0700 | [diff] [blame] | 9 | environment: |
| 10 | - CONFIG_DIR |
| 11 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 12 | - "9001:9001" |
Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -0700 | [diff] [blame] | 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_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" |
| 38 | |
Scott Baker | 785f711 | 2016-08-19 10:04:05 -0700 | [diff] [blame] | 39 | #xos_synchronizer_openstack: |
| 40 | # command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 41 | # image: xosproject/xos-synchronizer-openstack |
| 42 | # labels: |
| 43 | # org.xosproject.kind: synchronizer |
| 44 | # org.xosproject.target: openstack |
| 45 | # links: |
| 46 | # - xos_db |
| 47 | # extra_hosts: |
| 48 | # - ctl:${MYIP} |
| 49 | # volumes: |
| 50 | # - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 51 | # - ../setup:/root/setup:ro |
| 52 | # - ./images:/opt/xos/images:ro |
| 53 | # log_driver: "json-file" |
| 54 | # log_opt: |
| 55 | # max-size: "100k" |
| 56 | # max-file: "5" |