From e773be0e1a7e0895cde216108c9e6517fd96c4e0 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 13 Feb 2022 14:34:24 +0100 Subject: [PATCH] API - remove dotenv warning --- .env.docker | 1 + .env.example | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.docker b/.env.docker index afa556dc..e5c1c70c 100644 --- a/.env.docker +++ b/.env.docker @@ -3,6 +3,7 @@ # Application export FLASK_ENV=development export FLASK_APP=fittrackee/__main__.py +export FLASK_SKIP_DOTENV=1 export APP_SETTINGS=fittrackee.config.DevelopmentConfig export APP_SECRET_KEY='just for test' # export APP_WORKERS= diff --git a/.env.example b/.env.example index adc1939f..03c339fb 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ # Application # export FLASK_APP=fittrackee +export FLASK_SKIP_DOTENV=1 # export HOST= # export PORT= # export APP_SETTINGS=fittrackee.config.ProductionConfig