forked from Gitlink/forgeplus
32 lines
855 B
Plaintext
32 lines
855 B
Plaintext
default: &default
|
|
adapter: mysql2
|
|
host: <%= ENV.fetch("MYSQL_HOST") { '127.0.0.1' } %>
|
|
encoding: utf8mb4
|
|
reconnect: true
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 20 } %>
|
|
username: <%= ENV.fetch("MYSQL_USER") { 'root' } %>
|
|
password: <%= ENV.fetch("MYSQL_PWD") { '123456' } %>
|
|
wait_timeout: 10
|
|
ssl_mode: disabled
|
|
gitea_server:
|
|
adapter: mysql2
|
|
database: <%= ENV.fetch("MYSQL_DB_GITEA") { 'gitea' } %>
|
|
host: <%= ENV.fetch("MYSQL_HOST") { '127.0.0.1' } %>
|
|
username: <%= ENV.fetch("MYSQL_USER") { 'root' } %>
|
|
password: <%= ENV.fetch("MYSQL_PWD") { '123456' } %>
|
|
encoding: utf8
|
|
ssl_mode: disabled
|
|
|
|
development:
|
|
<<: *default
|
|
host: 127.0.0.1
|
|
database: forgeplus_development
|
|
|
|
test:
|
|
<<: *default
|
|
database: forgeplus_test
|
|
|
|
production:
|
|
<<: *default
|
|
database: <%= ENV.fetch("MYSQL_DB") { 'forgeplus' } %>
|