blob: b3be0ba305bb31870c7e7e4f8d4a3e9410776a9d [file] [log] [blame]
xos_db:
image: xosproject/xos-postgres
expose:
- "5432"
# FUTURE
#xos_swarm_synchronizer:
# image: xosproject/xos-swarm-synchronizer
# labels:
# org.xosproject.kind: synchronizer
# org.xosproject.target: swarm
xos:
image: xosproject/xos
command: python /opt/xos/manage.py runserver 0.0.0.0:8000 --insecure --makemigrations
#command: sleep 86400 # For interactive session
ports:
- "9999:8000"
links:
- xos_db
volumes:
- ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
- ../../core/xoslib:/opt/xos/core/xoslib
- ../../core/static:/opt/xos/core/static
- ../../templates/admin:/opt/xos/templates/admin
- ../../configurations:/opt/xos/configurations
- ../../tests:/opt/xos/tests