view config/database.yml.example @ 504:aaf58c17694b

Move out custom application config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:34:05 +0900
parents bcca41003e84
children
line wrap: on
line source

# Copy this to "database.yml" and adjust the fields accordingly.
# Should work with any adapter.
login: &login
  adapter: postgresql
  pool: 5
  username: zp
  password: silica
  host: 127.0.0.1

development:
  database: zeropaste_dev
  <<: *login

test:
  database: zeropaste_test
  <<: *login

production:
  database: zeropaste
  <<: *login