blob: b75f8094feebd40ae3ac21cc1c5ed6c1b2399a0b [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
Matteo Scandoloa317b872017-01-10 12:02:41 -080029 command: python /opt/xos/manage.py runserver 0.0.0.0:9000 --insecure --makemigrations
Scott Baker50421662016-06-27 22:09:48 -070030 ports:
Matteo Scandoloa317b872017-01-10 12:02:41 -080031 - "9000:9000"
Scott Baker50421662016-06-27 22:09:48 -070032 links:
33 - xos_db
34 volumes:
35 - ../setup:/root/setup:ro
36 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro