765b017ac2
current docker deployment was not taking in account deployment with DOMAIN - domain is enforced, localhost by default - .env.example proposed (right now only with DOMAIN)
14 lines
256 B
YAML
14 lines
256 B
YAML
services:
|
|
devicehub-django:
|
|
init: true
|
|
build:
|
|
dockerfile: docker/devicehub-django.Dockerfile
|
|
environment:
|
|
- DEBUG=true
|
|
- DOMAIN=${DOMAIN:-localhost}
|
|
volumes:
|
|
- .:/opt/devicehub-django
|
|
ports:
|
|
- 8000:8000
|
|
|