David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 1 | xos_db: |
David K. Bainbridge | a0241eb | 2015-12-09 09:54:40 -0800 | [diff] [blame] | 2 | image: xosproject/xos-postgres |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_synchronizer_openstack: |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 7 | command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 8 | image: xosproject/xos-synchronizer-openstack |
| 9 | labels: |
| 10 | org.xosproject.kind: synchronizer |
| 11 | org.xosproject.target: openstack |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 12 | links: |
| 13 | - xos_db |
| 14 | volumes: |
| 15 | - .:/root/setup:ro |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 16 | |
Pingping Lin | fc9256a | 2016-03-03 09:52:24 -0800 | [diff] [blame] | 17 | xos_synchronizer_mcordservice: |
| 18 | image: xosproject/xos-synchronizer-openstack |
| 19 | command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_config" |
| 20 | labels: |
| 21 | org.xosproject.kind: synchronizer |
| 22 | org.xosproject.target: mcordservice |
| 23 | links: |
| 24 | - xos_db |
| 25 | volumes: |
| 26 | # - ../setup/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key |
| 27 | - ../setup:/root/setup:ro |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 28 | # FUTURE |
| 29 | #xos_swarm_synchronizer: |
| 30 | # image: xosproject/xos-swarm-synchronizer |
| 31 | # labels: |
| 32 | # org.xosproject.kind: synchronizer |
| 33 | # org.xosproject.target: swarm |
| 34 | |
| 35 | xos: |
David K. Bainbridge | 8effcc7 | 2015-12-03 20:26:41 -0800 | [diff] [blame] | 36 | command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 37 | image: xosproject/xos |
David K. Bainbridge | 9c24cbf | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 38 | links: |
| 39 | - xos_db |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 40 | ports: |
Andy Bavier | 797a65f | 2016-01-29 11:50:12 -0500 | [diff] [blame] | 41 | - "8000:8000" |
Andy Bavier | 1e47643 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 42 | volumes: |
| 43 | - .:/root/setup:ro |