Andy Bavier | 774e84d | 2016-01-28 12:59:57 -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 |
Scott Baker | dc58ce5 | 2016-02-09 16:15:29 -0800 | [diff] [blame] | 8 | command: bash -c "update-ca-certificates; sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py" |
| 9 | #command: sleep 86400 |
Andy Bavier | 774e84d | 2016-01-28 12:59:57 -0500 | [diff] [blame] | 10 | labels: |
| 11 | org.xosproject.kind: synchronizer |
| 12 | org.xosproject.target: openstack |
| 13 | links: |
| 14 | - xos_db |
| 15 | volumes: |
| 16 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 17 | - /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro |
Scott Baker | 06c662d | 2016-02-08 21:36:31 -0800 | [diff] [blame] | 18 | - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro |
Andy Bavier | 774e84d | 2016-01-28 12:59:57 -0500 | [diff] [blame] | 19 | |
Scott Baker | dc58ce5 | 2016-02-09 16:15:29 -0800 | [diff] [blame] | 20 | xos_synchronizer_hpc: |
| 21 | image: xosproject/xos-synchronizer-openstack |
| 22 | command: bash -c "sleep 120; python /opt/xos/synchronizers/hpc/hpc-synchronizer.py -C /opt/xos/synchronizers/hpc/hpc_synchronizer_config" |
| 23 | #command: sleep 86400 |
| 24 | labels: |
| 25 | org.xosproject.kind: synchronizer |
| 26 | org.xosproject.target: hpc |
| 27 | links: |
| 28 | - xos_db |
| 29 | volumes: |
| 30 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 31 | - /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro |
| 32 | - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro |
| 33 | |
Scott Baker | f8706e9 | 2016-02-09 16:38:39 -0800 | [diff] [blame] | 34 | xos_watcher_hpc: |
| 35 | image: xosproject/xos-synchronizer-openstack |
| 36 | command: bash -c "sleep 120; python /opt/xos/synchronizers/hpc/hpc_watcher.py" |
| 37 | #command: sleep 86400 |
| 38 | labels: |
| 39 | org.xosproject.kind: watcher |
| 40 | org.xosproject.target: hpc |
| 41 | links: |
| 42 | - xos_db |
| 43 | volumes: |
| 44 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 45 | - /usr/local/share/ca-certificates:/usr/local/share/ca-certificates:ro |
| 46 | - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro |
| 47 | |
Andy Bavier | 774e84d | 2016-01-28 12:59:57 -0500 | [diff] [blame] | 48 | # FUTURE |
| 49 | #xos_swarm_synchronizer: |
| 50 | # image: xosproject/xos-swarm-synchronizer |
| 51 | # labels: |
| 52 | # org.xosproject.kind: synchronizer |
| 53 | # org.xosproject.target: swarm |
| 54 | |
| 55 | xos: |
| 56 | image: xosproject/xos |
| 57 | command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations |
| 58 | ports: |
| 59 | - "80:8000" |
| 60 | links: |
| 61 | - xos_db |
| 62 | volumes: |
| 63 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
Scott Baker | 06c662d | 2016-02-08 21:36:31 -0800 | [diff] [blame] | 64 | - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro |