Updated Environment Variables (markdown)

master
Hunter Long 2020-09-15 23:46:13 -07:00
parent 7e86d8d103
commit 14c9ffa58a
1 changed files with 1 additions and 1 deletions

@ -27,7 +27,7 @@ With LetsEncrypt enabled, Statping will run through the SSL process and create t
- `DB_PORT` - Database port (5432, 3306, ...) - `DB_PORT` - Database port (5432, 3306, ...)
- `DB_DATABASE` - Database connection's database name - `DB_DATABASE` - Database connection's database name
- `DB_DSN` - Database DSN string ([postgres](https://www.php.net/manual/en/ref.pdo-pgsql.connection.php), [mysql](https://github.com/go-sql-driver/mysql#dsn-data-source-name), [sqlite](https://www.sqlite.org/inmemorydb.html)) - `DB_DSN` - Database DSN string ([postgres](https://www.php.net/manual/en/ref.pdo-pgsql.connection.php), [mysql](https://github.com/go-sql-driver/mysql#dsn-data-source-name), [sqlite](https://www.sqlite.org/inmemorydb.html))
- `READ_ONLY` - Run in a read only mode, this will not create, update, or delete records - `READ_ONLY` - Run in a read only mode, this will not create, update, or delete records (false)
- `POSTGRES_SSLMODE` - Enable [Postgres SSL Mode](https://www.postgresql.org/docs/9.1/libpq-ssl.html) 'ssl_mode=VALUE' (enable/disable/verify-full/verify-ca) - `POSTGRES_SSLMODE` - Enable [Postgres SSL Mode](https://www.postgresql.org/docs/9.1/libpq-ssl.html) 'ssl_mode=VALUE' (enable/disable/verify-full/verify-ca)
- `MAX_OPEN_CONN` - Set [Maximum Open Connections](https://golang.org/pkg/database/sql/#DB.SetMaxOpenConns) for database server (default: 25) - `MAX_OPEN_CONN` - Set [Maximum Open Connections](https://golang.org/pkg/database/sql/#DB.SetMaxOpenConns) for database server (default: 25)
- `MAX_IDLE_CONN` - Set [Maximum Idle Connections](https://golang.org/pkg/database/sql/#DB.SetMaxIdleConns) for database server (default: 25) - `MAX_IDLE_CONN` - Set [Maximum Idle Connections](https://golang.org/pkg/database/sql/#DB.SetMaxIdleConns) for database server (default: 25)