From d95f30a5e68e9403677825f9e1c5a8255b5d9fe3 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Thu, 1 Sep 2022 20:53:59 +0100 Subject: [PATCH] Example .env --- .env.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..7949fc2 --- /dev/null +++ b/.env.example @@ -0,0 +1,17 @@ +SERVER_NAME= # URL where this will be hosted. +FLASK_DEBUG=False + +TZ=Europe/London # Time Zone + +## App Configuration +SECRET_KEY= # Long, secure, secret string. +DATABASE_TYPE=SQLite # SQLite or MySQL, defaults to SQLite +DATABASE_HOST= # Required if MySQL. Must match name of Docker service, or provide host if database is on an external server. Defaults to localhost. +DATABASE_PORT= # Required if MySQL. Defaults to 3306 + +## MySQL Database Configuration (Required if configured to MySQL Database.) +# Note that if using the Docker service, these configuration values will also be used when creating the database in the mysql container. +MYSQL_RANDOM_ROOT_PASSWORD=True +MYSQL_DATABASE= # Required if MySQL. +MYSQL_USER= # Required if MySQL +MYSQL_PASSWORD= # Required if MySQL. Create secure password string. Note '@' character cannot be used. \ No newline at end of file