add env variable for custom db port
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2019-10-03 13:51:27 +02:00
parent a6850c8478
commit e96febfb23
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
* ENHANCEMENT * ENHANCEMENT
* better error handling in entrypoint script * better error handling in entrypoint script
* add env variable for custom DB port
* BUGFIX * BUGFIX
* symling `/etc/ssl/certs/ca-certificates.crt` to freshrss root as workaround for [#2549](https://github.com/FreshRSS/FreshRSS/issues/2549) * symling `/etc/ssl/certs/ca-certificates.crt` to freshrss root as workaround for [#2549](https://github.com/FreshRSS/FreshRSS/issues/2549)

View File

@ -95,6 +95,7 @@ FRESHRSS_CURLOPT_PROXYAUTH=
FRESHRSS_CURLOPT_PROXYUSERPWD= FRESHRSS_CURLOPT_PROXYUSERPWD=
FRESHRSS_DB_TYPE="sqlite" FRESHRSS_DB_TYPE="sqlite"
FRESHRSS_DB_HOST="localhost" FRESHRSS_DB_HOST="localhost"
FRESHRSS_DB_PORT=
FRESHRSS_DB_USER= FRESHRSS_DB_USER=
FRESHRSS_DB_PASSWORD= FRESHRSS_DB_PASSWORD=
FRESHRSS_DB_BASE= FRESHRSS_DB_BASE=

View File

@ -55,6 +55,7 @@ return array(
'db' => array( 'db' => array(
'type' => '{{ getenv "FRESHRSS_DB_TYPE" "sqlite" }}', 'type' => '{{ getenv "FRESHRSS_DB_TYPE" "sqlite" }}',
'host' => '{{ getenv "FRESHRSS_DB_HOST" "localhost" }}', 'host' => '{{ getenv "FRESHRSS_DB_HOST" "localhost" }}',
'port' => '{{ getenv "FRESHRSS_DB_PORT" }}'
'user' => '{{ getenv "FRESHRSS_DB_USER" }}', 'user' => '{{ getenv "FRESHRSS_DB_USER" }}',
'password' => '{{ getenv "FRESHRSS_DB_PASSWORD" }}', 'password' => '{{ getenv "FRESHRSS_DB_PASSWORD" }}',
'base' => '{{ getenv "FRESHRSS_DB_BASE" }}', 'base' => '{{ getenv "FRESHRSS_DB_BASE" }}',