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: |
| 7 | image: xosproject/xos-synchronizer-openstack |
| 8 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 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 |
| 18 | - ./images:/opt/xos/images:ro |
| 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 |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame^] | 29 | command: python /opt/xos/manage.py runserver 0.0.0.0:9000 --insecure --makemigrations |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 30 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame^] | 31 | - "9000:9000" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 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 |