marked required env fields

This commit is contained in:
vabene1111 2021-12-30 09:47:36 +01:00
parent f16e457d14
commit 3743a08996
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,9 @@ SQL_DEBUG=0
ALLOWED_HOSTS=* ALLOWED_HOSTS=*
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one # random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
# ---------------------------- REQUIRED -------------------------
SECRET_KEY= SECRET_KEY=
# ---------------------------------------------------------------
# your default timezone See https://timezonedb.com/time-zones for a list of timezones # your default timezone See https://timezonedb.com/time-zones for a list of timezones
TIMEZONE=Europe/Berlin TIMEZONE=Europe/Berlin
@ -18,7 +20,9 @@ DB_ENGINE=django.db.backends.postgresql
POSTGRES_HOST=db_recipes POSTGRES_HOST=db_recipes
POSTGRES_PORT=5432 POSTGRES_PORT=5432
POSTGRES_USER=djangouser POSTGRES_USER=djangouser
# ---------------------------- REQUIRED -------------------------
POSTGRES_PASSWORD= POSTGRES_PASSWORD=
# ---------------------------------------------------------------
POSTGRES_DB=djangodb POSTGRES_DB=djangodb
# database connection string, when used overrides other database settings. # database connection string, when used overrides other database settings.

View File

@ -51,7 +51,7 @@ There are different versions (tags) released on docker hub.
The main, and also recommended, installation option is to install this application using Docker Compose. The main, and also recommended, installation option is to install this application using Docker Compose.
1. Choose your `docker-compose.yml` from the examples below. 1. Choose your `docker-compose.yml` from the examples below.
2. Download the `.env` configuration file with `wget`, then **edit it accordingly**. 2. Download the `.env` configuration file with `wget`, then **edit it accordingly** (you NEED to set `SECRET_KEY` and `POSTGRES_PASSWORD`).
```shell ```shell
wget https://raw.githubusercontent.com/vabene1111/recipes/develop/.env.template -O .env wget https://raw.githubusercontent.com/vabene1111/recipes/develop/.env.template -O .env
``` ```