Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 7 | image: xosproject/xos |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 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 |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 20 | - ../../xos_libraries:/opt/xos_libraries |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 21 | log_driver: "json-file" |
| 22 | log_opt: |
| 23 | max-size: "100k" |
| 24 | max-file: "5" |
| 25 | |
| 26 | #xos_synchronizer_openstack: |
| 27 | # command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 28 | # image: xosproject/xos-synchronizer-openstack |
| 29 | # labels: |
| 30 | # org.xosproject.kind: synchronizer |
| 31 | # org.xosproject.target: openstack |
| 32 | # links: |
| 33 | # - xos_db |
| 34 | # volumes: |
| 35 | # - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 36 | # - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 37 | # - .:/root/setup:ro |
| 38 | # - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 39 | # - ./images:/opt/xos/images:ro |
| 40 | # log_driver: "json-file" |
| 41 | # log_opt: |
| 42 | # max-size: "100k" |
| 43 | # max-file: "5" |
| 44 | |
| 45 | xos_bootstrap_ui: |
| 46 | command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations |
| 47 | environment: |
| 48 | - CONFIG_DIR |
| 49 | image: xosproject/xos |
| 50 | links: |
| 51 | - xos_db |
| 52 | ports: |
| 53 | - "81:81" |
| 54 | volumes: |
| 55 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 56 | - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro |
| 57 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 58 | - ../../xos_services:/opt/xos_services |
| 59 | log_driver: "json-file" |
| 60 | log_opt: |
| 61 | max-size: "100k" |
| 62 | max-file: "5" |