Browse Source

database optional ct1.lxd

main
pvincent 3 months ago
parent
commit
335a2031d6
  1. 7
      TODO.md
  2. 2
      config/database.yml

7
TODO.md

@ -16,6 +16,13 @@ TODO
* [ ] smart filter search bar
* [ ] build auto-release notes based from TODO and New Notes
* [ ] semver_git_tag compatible
* [ ] Ansi Formatter
* [ ] fix:
```
23:49:01 web.1 | Rails ╙─╜ Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecor
23:49:01 web.1 | Rails ╣┆╠ d: 0.2ms | Allocations: 10324)
```
* `prefix` Completed should use `final`
New Notes
---------

2
config/database.yml

@ -6,7 +6,7 @@ default: &default
# For details on connection pooling, see Rails configuration guide
# https://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: 127.0.0.1
host: <%= ENV.include?('container_hostname')? 'ct1.lxd':'localhost' %>
development:
<<: *default

Loading…
Cancel
Save