blob: 3813dee5a20d40ad79f275c5c33ca8dd482ef2cf [file] [log] [blame]
Andy Bavier774e84d2016-01-28 12:59:57 -05001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
7 image: xosproject/xos-synchronizer-openstack
Scott Bakerdc58ce52016-02-09 16:15:29 -08008 command: bash -c "update-ca-certificates; sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
9 #command: sleep 86400
Andy Bavier774e84d2016-01-28 12:59:57 -050010 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 Baker06c662d2016-02-08 21:36:31 -080018 - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro
Andy Bavier774e84d2016-01-28 12:59:57 -050019
Scott Bakerdc58ce52016-02-09 16:15:29 -080020xos_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 Bakerf8706e92016-02-09 16:38:39 -080034xos_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 Bavier774e84d2016-01-28 12:59:57 -050048# FUTURE
49#xos_swarm_synchronizer:
50# image: xosproject/xos-swarm-synchronizer
51# labels:
52# org.xosproject.kind: synchronizer
53# org.xosproject.target: swarm
54
55xos:
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 Baker06c662d2016-02-08 21:36:31 -080064 - ./files/xos_opencloud_config:/opt/xos/xos_configuration/xos_opencloud_config:ro