forked from External/greenlight
GRN2-xx: Added port to database configuration (#1550)
* GRN2-XX: Added port to database configuration * GRN2-XX: Added port to database configuration
This commit is contained in:
parent
6b628d62d3
commit
7411eba8e0
|
@ -17,6 +17,7 @@ production:
|
||||||
<<: *default
|
<<: *default
|
||||||
adapter: <%= ENV['DB_ADAPTER'] || 'sqlite3' %>
|
adapter: <%= ENV['DB_ADAPTER'] || 'sqlite3' %>
|
||||||
host: <%= ENV['DB_HOST'] %>
|
host: <%= ENV['DB_HOST'] %>
|
||||||
|
port: <%= ENV['DB_PORT' || '5432'] %>
|
||||||
database: <%= ENV['DB_NAME'] || 'db/production/production.sqlite3' %>
|
database: <%= ENV['DB_NAME'] || 'db/production/production.sqlite3' %>
|
||||||
username: <%= ENV['DB_USERNAME'] %>
|
username: <%= ENV['DB_USERNAME'] %>
|
||||||
password: <%= ENV['DB_PASSWORD'] %>
|
password: <%= ENV['DB_PASSWORD'] %>
|
||||||
|
|
|
@ -231,6 +231,7 @@ HELP_URL=https://docs.bigbluebutton.org/greenlight/gl-overview.html
|
||||||
#
|
#
|
||||||
# DB_ADAPTER=postgresql
|
# DB_ADAPTER=postgresql
|
||||||
# DB_HOST=postgres.example.com
|
# DB_HOST=postgres.example.com
|
||||||
|
# DB_PORT=5432
|
||||||
# DB_NAME=greenlight_production
|
# DB_NAME=greenlight_production
|
||||||
# DB_USERNAME=postgres
|
# DB_USERNAME=postgres
|
||||||
# DB_PASSWORD=password
|
# DB_PASSWORD=password
|
||||||
|
@ -239,6 +240,7 @@ HELP_URL=https://docs.bigbluebutton.org/greenlight/gl-overview.html
|
||||||
#
|
#
|
||||||
DB_ADAPTER=postgresql
|
DB_ADAPTER=postgresql
|
||||||
DB_HOST=db
|
DB_HOST=db
|
||||||
|
DB_PORT=5432
|
||||||
DB_NAME=greenlight_production
|
DB_NAME=greenlight_production
|
||||||
DB_USERNAME=postgres
|
DB_USERNAME=postgres
|
||||||
DB_PASSWORD=password
|
DB_PASSWORD=password
|
||||||
|
|
Loading…
Reference in New Issue