devicehub-django/docker-compose.yml
pedro 765b017ac2 good default django settings for deployments
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)
2024-09-23 13:09:48 -03:00

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