user-panel #9

Merged
cayop merged 25 commits from user-panel into main 2024-10-11 14:26:36 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit fa59feaf77 - Show all commits

View file

@ -29,7 +29,7 @@ SECRET_KEY = "django-insecure-1p8rs@qf$$l^!vsbetagojw23kw@1ez(qi8^(s0t&#7!wyh!l3
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='[]', cast=Csv()
# Application definition

View file

@ -4,7 +4,8 @@ services:
build:
dockerfile: docker/devicehub-django.Dockerfile
environment:
DEBUG: true
- DEBUG: true
- ALLOWED_HOSTS=*
volumes:
- .:/opt/devicehub-django
ports: