blob: 803e57c00945e3ffb3556b8aa51566e44d723faa [file] [log] [blame]
Andy Bavier5d1c3432016-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 Bavier499a8b22016-01-20 16:30:51 -08008 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
Andy Bavier5d1c3432016-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 Bavier4490ee92016-01-05 16:17:14 -050015 - ctl:${MYIP}
Andy Bavier6d048612016-01-06 16:48:04 -050016 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
Andy Bavier5d1c3432016-01-05 09:56:05 -050018
19# FUTURE
20#xos_swarm_synchronizer:
21# image: xosproject/xos-swarm-synchronizer
22# labels:
23# org.xosproject.kind: synchronizer
24# org.xosproject.target: swarm
25
26xos:
27 image: xosproject/xos
28 command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
29 ports:
30 - "9999:8000"
31 links:
32 - xos_db
33 volumes:
Andy Bavier4490ee92016-01-05 16:17:14 -050034 - ../setup:/root/setup:ro
Andy Bavier5d1c3432016-01-05 09:56:05 -050035 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro