blob: 6895d42ea9377a36e082263838ea4cae4785f09d [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
- ../vtn/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
- ../../core/xoslib:/opt/xos/core/xoslib
- ../../core/static:/opt/xos/core/static
- ../../core/dashboard:/opt/xos/core/dashboard
- ../../core/templatetags:/opt/xos/core/templatetags
- ../../core/views:/opt/xos/core/views
- ../../templates/admin:/opt/xos/templates/admin
- ../../configurations:/opt/xos/configurations
- ../../xos:/opt/xos/xos