mirror of https://github.com/statping/statping
Created Config with .env File (markdown)
parent
aa2c70d338
commit
5623ae0aa7
|
@ -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
|
||||
```
|
Loading…
Reference in New Issue