Browse Source

Add ALLOWED_HOSTS env variable for backend container

pull/679/head
Guillaume Vincent 2 years ago
parent
commit
432b3042a3
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      containers/.env
  2. +1
    -0
      containers/docker-compose.yml

+ 1
- 0
containers/.env View File

@@ -2,6 +2,7 @@ POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
SECRET_KEY=azertyuiop
ALLOWED_HOSTS=.lesspass.local
DATABASE_ENGINE=django.db.backends.postgresql
DATABASE_NAME=postgres
DATABASE_USER=postgres


+ 1
- 0
containers/docker-compose.yml View File

@@ -15,6 +15,7 @@ services:
links:
- db
environment:
- ALLOWED_HOSTS
- DATABASE_ENGINE
- DATABASE_HOST
- DATABASE_NAME


Loading…
Cancel
Save