Skip to content

Commit 9cef677

Browse files
committed
Add comment in database.yml samples about port number
1 parent e103176 commit 9cef677

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

config/database.yml.development-sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ development:
66
pool: 5
77
timeout: 5000
88
host_names:
9+
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
910
### If you change this setting you will need to
1011
### - restart sidekiq if you change this setting
1112
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`

config/database.yml.production-sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ production:
88
timeout: 5000
99
# db_id: 0 # database ID if hosting multiple sites
1010
host_names:
11+
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
1112
### If you change this setting you will need to
1213
### - restart sidekiq if you change this setting
1314
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`

0 commit comments

Comments
 (0)