services: devicehub-django: init: true build: dockerfile: docker/devicehub-django.Dockerfile environment: - DEBUG=${DEBUG:-false} - DOMAIN=${DH_DOMAIN:-localhost} - PORT=${DH_PORT:-8000} - ALLOWED_HOSTS=${DH_ALLOWED_HOSTS:-$DH_DOMAIN} - DEMO=${DEMO:-false} - PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-} - DPP=${DPP:-false} volumes: - .:/opt/devicehub-django ports: - ${DH_PORT}:${DH_PORT}