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