From 5623ae0aa77e65648b306821ca2f15690d80883a Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Fri, 6 Jul 2018 08:53:29 -0700 Subject: [PATCH] Created Config with .env File (markdown) --- Config-with-.env-File.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Config-with-.env-File.md diff --git a/Config-with-.env-File.md b/Config-with-.env-File.md new file mode 100644 index 0000000..aef26ba --- /dev/null +++ b/Config-with-.env-File.md @@ -0,0 +1,24 @@ +It may be useful to load your environment using a `.env` file in the root directory of your Statup server. The .env file will be automatically loaded on startup and will overwrite all values you have in config.yml. + +###### `.env` File +```bash +DB_CONN=postgres +DB_HOST=0.0.0.0 +DB_PORT=5432 +DB_USER=root +DB_PASS=password123 +DB_DATABASE=root + +NAME=Demo +DESCRIPTION=This is an awesome page +DOMAIN=https://domain.com +ADMIN_USER=admin +ADMIN_PASS=admin +ADMIN_EMAIL=info@admin.com +USE_CDN=true + +IS_DOCKER=false +IS_AWS=false +SASS=/usr/local/bin/sass +CMD_FILE=/bin/bash +``` \ No newline at end of file