blob: 9ef6fc76932433c1e1e20c7971ff7d9e210f7fe4 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
Scott Baker50421662016-06-27 22:09:48 -07007 image: xosproject/xos-synchronizer-openstack
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +00008 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
Scott Baker50421662016-06-27 22:09:48 -07009 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
12 links:
13 - xos_db
14 extra_hosts:
15 - ctl:${MYIP}
16 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000018 - ./images:/opt/xos/images:ro
Scott Baker50421662016-06-27 22:09:48 -070019
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
27xos:
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:
35 - ../setup:/root/setup:ro
36 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro