You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/docs
bors[bot] d1eab083f5
Merge #1831
1831: Fix roundcube database env configuration r=mergify[bot] a=parisni

## What type of PR?

bug-fix

## What does this PR do?

Both roundcube and mailu admin website can be backed by postgres/mysql. Before this PR, the `DB_FLAVOR` is shared by both services. However, the other roundcube dedicated DB params are prefixed with `ROUNDCUBE_`. (eg: `ROUNDCUBE_DB_NAME`)
There is no reason to share the DB_FLAVOR for both: This PR makes them be considered independently to make things clear and avoid bugs.
Also, the roundcube_db_flavor and db_flavor are made separated in this PR. However for simplicity, the template generator bind them : roundcube_db_flavor = db_flavor. This makes the template generator UI more simple. I considered most of the time people want to have both roundcube and mailu share the same RDBMS.

Also, AFAIK the internal postgresql service is deprecated and will be removed in 1.9. This is why this PR does not integrate roundcube in postgres when the internal DB is choosen: in case of internal postgres, the roundcube is backed with sqlite.

Both documentation and setup website have been updated accordingly.

### Related issue(s)
- Auto close an issue like: closes #1648 #1471

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [X] In case of feature or enhancement: documentation updated accordingly
- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: parisni <nicolas.paris@riseup.net>
Co-authored-by: Nicolas Paris <nicolas.paris@riseup.net>
3 years ago
..
_templates Restore VERSION_TAG template 6 years ago
assets removing unneeded image 4 years ago
compose Merge #1694 3 years ago
contributors Added new docker repo for test image. Adapted deploy script to use env var for test repo name. Modified travis references to github actions references in docs. Added changelog entry. 3 years ago
kubernetes Warn people off of the documentation's K8s recipe. 4 years ago
swarm add some docs about _FILE variables 4 years ago
.env Add deploy settings for server 6 years ago
Dockerfile Docs: treat warnings as errors 5 years ago
antispam.rst Add documentation for the web administration gui. 4 years ago
cli.rst Misc improvements to PASSWORD_SCHEME 4 years ago
conf.py Completely remove step 5 where you can set the replica count for docker-stack. 4 years ago
configuration.rst Document databases variable and deprecation 3 years ago
database.rst Improve english 3 years ago
demo.rst Fixed small typo 5 years ago
dns.rst Update docs/dns.rst 5 years ago
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 6 years ago
faq.rst Merge #1806 3 years ago
features.rst remove service status "feature" 4 years ago
general.rst Fix the rst syntax for most documentation 7 years ago
index.rst Add documentation for the web administration gui. 4 years ago
maintain.rst Include a doc section for external certbot 6 years ago
nginx.conf Build the documentation as a Docker image 6 years ago
releases.rst rewording about the usage of PostgreSQL 4 years ago
requirements.txt Revert "Add a Dockerfile for buliding the docs" 6 years ago
reverse.rst Merge #1649 #1673 3 years ago
rpi_build.rst RPi: update doc (alpine version + variables) 5 years ago
setup.rst Preparations for 1.8 release. 4 years ago
webadministration.rst Update docs/webadministration.rst 4 years ago