blob: fae13ab2d293ddc3a9a4dc3468612b417e1bd402 [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
- ../../core/dashboard:/opt/xos/core/dashboard
- ../../core/templatetags:/opt/xos/core/templatetags
- ../../templates/admin:/opt/xos/templates/admin
- ../../configurations:/opt/xos/configurations
- ../../xos:/opt/xos/xos