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