blob: 9ef6fc76932433c1e1e20c7971ff7d9e210f7fe4 [file] [log] [blame]
Andy Bavier48c85212016-01-05 09:56:05 -05001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_openstack:
7 image: xosproject/xos-synchronizer-openstack
Andy Bavier205900c2016-01-20 16:30:51 -08008 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
Andy Bavier48c85212016-01-05 09:56:05 -05009 labels:
10 org.xosproject.kind: synchronizer
11 org.xosproject.target: openstack
12 links:
13 - xos_db
14 extra_hosts:
Andy Bavier5bdf7052016-01-05 16:17:14 -050015 - ctl:${MYIP}
Andy Bavier9da23472016-01-06 16:48:04 -050016 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Scott Baker3ed30fa2016-03-01 20:18:20 -080018 - ./images:/opt/xos/images:ro
Andy Bavier48c85212016-01-05 09:56:05 -050019
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:
Andy Bavier5bdf7052016-01-05 16:17:14 -050035 - ../setup:/root/setup:ro
Andy Bavier48c85212016-01-05 09:56:05 -050036 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro