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_synchronizer_openstack: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 7 | image: xosproject/xos-synchronizer-openstack |
Srikanth Vavilapalli | f95cd5b | 2016-07-10 19:08:04 +0000 | [diff] [blame] | 8 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 9 | labels: |
| 10 | org.xosproject.kind: synchronizer |
| 11 | org.xosproject.target: openstack |
| 12 | links: |
| 13 | - xos_db |
| 14 | extra_hosts: |
| 15 | - ctl:${MYIP} |
| 16 | volumes: |
| 17 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
Srikanth Vavilapalli | f95cd5b | 2016-07-10 19:08:04 +0000 | [diff] [blame] | 18 | - ./images:/opt/xos/images:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 19 | |
| 20 | # FUTURE |
| 21 | #xos_swarm_synchronizer: |
| 22 | # image: xosproject/xos-swarm-synchronizer |
| 23 | # labels: |
| 24 | # org.xosproject.kind: synchronizer |
| 25 | # org.xosproject.target: swarm |
| 26 | |
| 27 | xos: |
| 28 | image: xosproject/xos |
| 29 | command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations |
| 30 | ports: |
| 31 | - "9999:8000" |
| 32 | links: |
| 33 | - xos_db |
| 34 | volumes: |
| 35 | - ../setup:/root/setup:ro |
| 36 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |