David K. Bainbridge | ab4a2eb | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 1 | xos_db: |
David K. Bainbridge | 975440c | 2015-12-09 09:54:40 -0800 | [diff] [blame] | 2 | image: xosproject/xos-postgres |
David K. Bainbridge | ab4a2eb | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_synchronizer_openstack: |
Andy Bavier | 2492619 | 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 | ab4a2eb | 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 | 2492619 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 12 | links: |
| 13 | - xos_db |
| 14 | volumes: |
| 15 | - .:/root/setup:ro |
David K. Bainbridge | ab4a2eb | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 16 | |
Pingping Lin | fa30bae | 2016-03-03 09:52:24 -0800 | [diff] [blame] | 17 | xos_synchronizer_mcordservice: |
| 18 | image: xosproject/xos-synchronizer-openstack |
Pingping Lin | 3df9b35 | 2016-04-01 01:53:19 -0700 | [diff] [blame] | 19 | command: bash -c "sleep 120; python /opt/xos/synchronizers/mcordservice/mcordservice-synchronizer.py -C /opt/xos/synchronizers/mcordservice/mcordservice_vtnconfig" |
Pingping Lin | fa30bae | 2016-03-03 09:52:24 -0800 | [diff] [blame] | 20 | labels: |
| 21 | org.xosproject.kind: synchronizer |
| 22 | org.xosproject.target: mcordservice |
| 23 | links: |
| 24 | - xos_db |
| 25 | volumes: |
Pingping Lin | 3df9b35 | 2016-04-01 01:53:19 -0700 | [diff] [blame] | 26 | - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key |
Pingping Lin | fa30bae | 2016-03-03 09:52:24 -0800 | [diff] [blame] | 27 | - ../setup:/root/setup:ro |
Pingping Lin | 3df9b35 | 2016-04-01 01:53:19 -0700 | [diff] [blame] | 28 | |
David K. Bainbridge | ab4a2eb | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 29 | # FUTURE |
| 30 | #xos_swarm_synchronizer: |
| 31 | # image: xosproject/xos-swarm-synchronizer |
| 32 | # labels: |
| 33 | # org.xosproject.kind: synchronizer |
| 34 | # org.xosproject.target: swarm |
| 35 | |
| 36 | xos: |
David K. Bainbridge | 5066765 | 2015-12-03 20:26:41 -0800 | [diff] [blame] | 37 | command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations |
Andy Bavier | 2492619 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 38 | image: xosproject/xos |
David K. Bainbridge | ab4a2eb | 2015-12-03 11:49:01 -0800 | [diff] [blame] | 39 | links: |
| 40 | - xos_db |
Andy Bavier | 2492619 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 41 | ports: |
Andy Bavier | 6e6a134 | 2016-01-29 11:50:12 -0500 | [diff] [blame] | 42 | - "8000:8000" |
Andy Bavier | 2492619 | 2016-01-29 11:42:29 -0500 | [diff] [blame] | 43 | volumes: |
| 44 | - .:/root/setup:ro |
Pingping Lin | 3df9b35 | 2016-04-01 01:53:19 -0700 | [diff] [blame] | 45 | - ../setup/id_rsa/id_rsa:/opt/xos/synchronizers/mcordservice/mcordservice_private_key:ro # private key |