Sfoglia il codice sorgente

Add ALLOWED_HOSTS env variable for backend container

pull/679/head
Guillaume Vincent 2 anni fa
parent
commit
432b3042a3
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +1
    -0
      containers/.env
  2. +1
    -0
      containers/docker-compose.yml

+ 1
- 0
containers/.env Vedi 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 Vedi File

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


Caricamento…
Annulla
Salva