|
-
-
-
-
- postgresql: &postgresql
- adapter: postgresql
- host: {{ database.host }}
- port: {{ pillar.get("diaspora:database:port", 5432) }}
- username: {{ database.username }}
- password: "{{ database.password }}"
- encoding: unicode
-
- mysql: &mysql
- adapter: mysql2
- host: {{ database.host }}
- port: {{ pillar.get("diaspora:database:port", 3306) }}
- username: {{ database.username }}
- password: "{{ database.password }}"
-
- encoding: utf8mb4
- collation: utf8mb4_bin
-
-
-
-
- common: &common
- <<: *{{ database.type }}
-
-
-
-
-
-
-
-
-
-
- combined: &combined
- <<: *common
- development:
- <<: *combined
- database: {{ database.database }}
- production:
- <<: *combined
- database: {{ database.database }}
- test:
- <<: *combined
- database: "diaspora_test"
- integration1:
- <<: *combined
- database: diaspora_integration1
- integration2:
- <<: *combined
- database: diaspora_integration2
|