9d963e7f54
start using namespace because more things are going to come in same docker compose
19 lines
467 B
YAML
19 lines
467 B
YAML
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}
|
|
|