blob: a0b87edb14010f8eca06028dec9ddc7f36383c68 [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-test
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
- ../../api:/opt/xos/api