18 lines
416 B
YAML
18 lines
416 B
YAML
services:
|
|
devicehub-django:
|
|
init: true
|
|
build:
|
|
dockerfile: docker/devicehub-django.Dockerfile
|
|
environment:
|
|
- DEBUG=${DEBUG:-false}
|
|
- DOMAIN=${DOMAIN:-localhost}
|
|
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-$DOMAIN}
|
|
- DEMO=${DEMO:-false}
|
|
- PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-}
|
|
- DPP=${DPP:-false}
|
|
volumes:
|
|
- .:/opt/devicehub-django
|
|
ports:
|
|
- 8000:8000
|
|
|