mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Add config/database.yml.github-actions
This commit is contained in:
parent
cea7af3a19
commit
359795672b
1 changed files with 23 additions and 0 deletions
23
config/database.yml.github-actions
Normal file
23
config/database.yml.github-actions
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
default: &default
|
||||||
|
adapter: postgresql
|
||||||
|
encoding: unicode
|
||||||
|
database: <%= ENV['DATABASE_NAME'] %>
|
||||||
|
username: <%= ENV['DATABASE_USERNAME'] %>
|
||||||
|
password: <%= ENV['DATABASE_PASSWORD'] %>
|
||||||
|
port: <%= ENV['DATABASE_PORT'] || '5432' %>
|
||||||
|
host: <%= ENV['DATABASE_HOST'] %>
|
||||||
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||||
|
timeout: 5000
|
||||||
|
|
||||||
|
development:
|
||||||
|
<<: *default
|
||||||
|
database: solo_customer_template_development
|
||||||
|
|
||||||
|
test:
|
||||||
|
<<: *default
|
||||||
|
database: solo_customer_template_test
|
||||||
|
|
||||||
|
production:
|
||||||
|
<<: *default
|
||||||
|
database: solo_customer_template_production
|
||||||
|
url: <%= ENV['DATABASE_URL'] %>
|
||||||
Loading…
Reference in a new issue