From 3743a08996928c3aa30dcf10d49aaf70a568d5d9 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Thu, 30 Dec 2021 09:47:36 +0100 Subject: [PATCH] marked required env fields --- .env.template | 4 ++++ docs/install/docker.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.template b/.env.template index 36c2357d..635e079c 100644 --- a/.env.template +++ b/.env.template @@ -7,7 +7,9 @@ SQL_DEBUG=0 ALLOWED_HOSTS=* # random secret key, use for example `base64 /dev/urandom | head -c50` to generate one +# ---------------------------- REQUIRED ------------------------- SECRET_KEY= +# --------------------------------------------------------------- # your default timezone See https://timezonedb.com/time-zones for a list of timezones TIMEZONE=Europe/Berlin @@ -18,7 +20,9 @@ DB_ENGINE=django.db.backends.postgresql POSTGRES_HOST=db_recipes POSTGRES_PORT=5432 POSTGRES_USER=djangouser +# ---------------------------- REQUIRED ------------------------- POSTGRES_PASSWORD= +# --------------------------------------------------------------- POSTGRES_DB=djangodb # database connection string, when used overrides other database settings. diff --git a/docs/install/docker.md b/docs/install/docker.md index 23fc02a4..4b572c43 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -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. 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 wget https://raw.githubusercontent.com/vabene1111/recipes/develop/.env.template -O .env ```