Andy Bavier | 48c8521 | 2016-01-05 09:56:05 -0500 | [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 |
Andy Bavier | 205900c | 2016-01-20 16:30:51 -0800 | [diff] [blame] | 8 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
Andy Bavier | 48c8521 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 9 | labels: |
| 10 | org.xosproject.kind: synchronizer |
| 11 | org.xosproject.target: openstack |
| 12 | links: |
| 13 | - xos_db |
| 14 | extra_hosts: |
Andy Bavier | 5bdf705 | 2016-01-05 16:17:14 -0500 | [diff] [blame] | 15 | - ctl:${MYIP} |
Andy Bavier | 9da2347 | 2016-01-06 16:48:04 -0500 | [diff] [blame] | 16 | volumes: |
| 17 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
Scott Baker | 3ed30fa | 2016-03-01 20:18:20 -0800 | [diff] [blame] | 18 | - ./images:/opt/xos/images:ro |
Andy Bavier | 48c8521 | 2016-01-05 09:56:05 -0500 | [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: |
Andy Bavier | 5bdf705 | 2016-01-05 16:17:14 -0500 | [diff] [blame] | 35 | - ../setup:/root/setup:ro |
Andy Bavier | 48c8521 | 2016-01-05 09:56:05 -0500 | [diff] [blame] | 36 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |