2018-05-10 10:51:19 +00:00
|
|
|
# this is a database config sample for zammad ready to use with a postgresql db
|
2018-05-10 10:55:40 +00:00
|
|
|
# copy or symlink this file to config/database.yml to use it
|
2018-05-10 10:51:19 +00:00
|
|
|
|
2018-05-04 05:40:42 +00:00
|
|
|
default: &default
|
|
|
|
# For details on connection pooling, see Rails configuration guide
|
|
|
|
# http://guides.rubyonrails.org/configuring.html#database-pooling
|
|
|
|
pool: 50
|
|
|
|
timeout: 5000
|
|
|
|
encoding: utf8
|
2018-05-10 10:51:19 +00:00
|
|
|
|
|
|
|
##### postgresql config #####
|
|
|
|
|
2018-05-04 05:40:42 +00:00
|
|
|
adapter: postgresql
|
2018-05-17 03:42:44 +00:00
|
|
|
# username: zammad
|
|
|
|
# password:
|
2018-05-10 10:51:19 +00:00
|
|
|
|
|
|
|
#### mysql config #####
|
|
|
|
|
2018-05-04 05:40:42 +00:00
|
|
|
# adapter: mysql2
|
2018-05-10 10:51:19 +00:00
|
|
|
# username: zammad
|
|
|
|
# password: <Password>
|
2018-05-04 05:40:42 +00:00
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *default
|
2018-05-10 10:51:19 +00:00
|
|
|
database: zammad_production
|
2018-05-04 05:40:42 +00:00
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
|
|
|
database: zammad_development
|
|
|
|
|
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
|
|
|
<<: *default
|
|
|
|
database: zammad_test
|