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