mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
#
|
|
# Registrant config
|
|
#
|
|
|
|
# Registrant should:
|
|
# * only read registry mirror database.
|
|
# * only write to registry table 'registrant_verification'
|
|
|
|
default: &default
|
|
host: localhost
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
pool: 5
|
|
username: registry
|
|
password: registry_pwd
|
|
|
|
#
|
|
# Staging config for Registrant
|
|
#
|
|
|
|
staging:
|
|
<<: *default
|
|
database: registry_staging # registry staging mirror
|
|
host: localhost
|
|
username: registrant_read_only
|
|
password: registrant_read_only_pwd
|
|
|
|
registrant_write_staging:
|
|
<<: *default
|
|
database: registry_development # registry real database
|
|
host: localhost
|
|
username: registrant_write # user should have write access only to registrant_verifications table
|
|
password: registrant_write_pwd
|
|
|
|
|
|
#
|
|
# Production config for Registrant
|
|
#
|
|
|
|
production:
|
|
<<: *default
|
|
database: registry_production # registry production mirror database name
|
|
host: localhost # registry production mirror location
|
|
username: registrant_read_only
|
|
password: registrant_read_only_pwd
|
|
|
|
registrant_write_production:
|
|
<<: *default
|
|
database: registry_production # registry production database name
|
|
host: localhost # registry database location
|
|
username: registrant_write # user should have write access only to registrant_verifications table
|
|
password: registrant_write_pwd
|