Initial commit

This commit is contained in:
Yaser
2026-08-13 19:56:46 +03:30
commit de1d57a67b
474 changed files with 43185 additions and 0 deletions

20
config/database.yml Normal file
View File

@@ -0,0 +1,20 @@
default: &default
adapter: <%= ENV.fetch('DATABASE_ADAPTER', 'mysql2') %>
encoding: utf8
pool: <%= ENV.fetch("RAILS_MAX_THREADS", 6).to_i * ENV.fetch("WEB_CONCURRENCY", 1).to_i %>
host: <%= ENV.fetch('DATABASE_HOST', '127.0.0.1') %>
port: <%= ENV.fetch('DATABASE_PORT', 3306) %>
username: <%= ENV.fetch('DATABASE_USER', 'root') %>
password: <%= ENV.fetch('DATABASE_PASS', 'changeme') %>
development:
<<: *default
database: barong_development
test:
<<: *default
database: barong_test
production:
<<: *default
database: <%= ENV.fetch('DATABASE_NAME', 'barong_production') %>