2024-08-02 11:05:02 +00:00
|
|
|
services:
|
|
|
|
devicehub-django:
|
|
|
|
init: true
|
|
|
|
build:
|
|
|
|
dockerfile: docker/devicehub-django.Dockerfile
|
|
|
|
environment:
|
2024-10-31 10:54:41 +00:00
|
|
|
- DEBUG=${DEBUG:-false}
|
2025-01-21 13:13:23 +00:00
|
|
|
- DOMAIN=${DH_DOMAIN:-localhost}
|
|
|
|
- PORT=${DH_PORT:-8000}
|
|
|
|
- ALLOWED_HOSTS=${DH_ALLOWED_HOSTS:-$DH_DOMAIN}
|
2024-10-16 20:07:40 +00:00
|
|
|
- DEMO=${DEMO:-false}
|
2024-10-16 19:54:54 +00:00
|
|
|
- PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-}
|
2024-12-11 10:16:32 +00:00
|
|
|
- DPP=${DPP:-false}
|
2024-08-02 11:05:02 +00:00
|
|
|
volumes:
|
|
|
|
- .:/opt/devicehub-django
|
|
|
|
ports:
|
2025-01-21 13:13:23 +00:00
|
|
|
- ${DH_PORT}:${DH_PORT}
|
2024-08-02 11:05:02 +00:00
|
|
|
|