Skip to content

Instantly share code, notes, and snippets.

@iekozz
Created July 21, 2020 18:56
Show Gist options
  • Save iekozz/34e1128858e8546c8644f6214cf8eb9c to your computer and use it in GitHub Desktop.
Save iekozz/34e1128858e8546c8644f6214cf8eb9c to your computer and use it in GitHub Desktop.
# this is a database config sample for zammad ready to use with a postgresql db
# copy or symlink this file to config/database.yml to use it
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
##### postgresql config #####
# adapter: postgresql
# username: zammad
# password:
# If the database server is not on localhost, you can set hostname and port:
# host:
# port:
#### mysql config #####
adapter: mysql2
database: zammad_prod
username: zammad
password: <password>
# If the database server is not on localhost, you can set hostname and port:
# host:
# port:
production:
<<: *default
database: zammad_production
development:
<<: *default
database: zammad_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment