1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00
diaspora_ynh/conf/database.yml

55 lines
1.1 KiB
YAML
Raw Normal View History

2015-02-17 03:39:33 +01:00
mysql: &mysql
adapter: mysql2
host: "localhost"
port: 3306
username: "DBUSERTOCHANGE"
password: "DBPASSTOCHANGE"
# socket: /tmp/mysql.sock
2017-02-08 21:02:56 +01:00
charset: utf8mb4
collation: utf8mb4_bin
2015-02-17 03:39:33 +01:00
postgres: &postgres
adapter: postgresql
host: localhost
port: 5432
username: postgres
password:
encoding: unicode
# Comment the the mysql line and uncomment the postgres line
# if you want to use postgres
common: &common
# Choose one of the following
<<: *mysql
#<<: *postgres
# Should match environment.sidekiq.concurrency
#pool: 25
##################################################
#### CONFIGURE ABOVE #############################
##################################################
# Normally you don't need to touch anything here
postgres_travis: &postgres_travis
adapter: postgresql
username: postgres
combined: &combined
<<: *common
development:
<<: *combined
database: diaspora_development
production:
<<: *combined
database: diaspora_production
test:
<<: *combined
database: "diaspora_test"
integration1:
<<: *combined
database: diaspora_integration1
integration2:
<<: *combined
database: diaspora_integration2