1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
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>
2021-06-29 11:58:39 +00:00
..
_templates Restore VERSION_TAG template 2018-12-30 15:07:45 +02:00
assets removing unneeded image 2020-11-17 11:41:01 -06:00
compose Merge #1694 2021-06-26 23:38:35 +00:00
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. 2021-06-26 19:16:56 +00:00
kubernetes Warn people off of the documentation's K8s recipe. 2021-01-04 02:37:48 -05:00
swarm add some docs about _FILE variables 2020-08-30 01:14:47 +02:00
.env Add deploy settings for server 2018-12-17 00:12:21 +02:00
antispam.rst Add documentation for the web administration gui. 2020-08-18 20:42:58 +02:00
cli.rst Misc improvements to PASSWORD_SCHEME 2021-03-09 12:04:42 +01:00
conf.py Completely remove step 5 where you can set the replica count for docker-stack. 2020-10-04 13:22:59 +00:00
configuration.rst Document databases variable and deprecation 2021-06-19 09:12:46 +02:00
database.rst Improve english 2021-06-27 10:38:32 +02:00
demo.rst Fixed small typo 2020-01-11 10:13:53 +01:00
dns.rst Update docs/dns.rst 2019-11-18 21:40:58 +01:00
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 2019-01-16 20:50:52 +02:00
Dockerfile Docs: treat warnings as errors 2019-10-21 15:18:53 +03:00
faq.rst Merge #1806 2021-06-26 23:21:36 +00:00
features.rst remove service status "feature" 2020-11-11 12:10:41 -06:00
general.rst Fix the rst syntax for most documentation 2017-11-02 20:05:12 +01:00
index.rst Add documentation for the web administration gui. 2020-08-18 20:42:58 +02:00
maintain.rst Include a doc section for external certbot 2018-10-13 20:59:14 +03:00
nginx.conf Build the documentation as a Docker image 2018-09-28 10:41:17 +02:00
releases.rst rewording about the usage of PostgreSQL 2021-01-22 05:29:54 +01:00
requirements.txt Revert "Add a Dockerfile for buliding the docs" 2018-10-01 12:07:49 +03:00
reverse.rst Merge #1649 #1673 2021-06-26 21:59:25 +00:00
rpi_build.rst RPi: update doc (alpine version + variables) 2019-10-09 12:17:40 -04:00
setup.rst Preparations for 1.8 release. 2020-10-01 20:32:05 +02:00
webadministration.rst Update docs/webadministration.rst 2020-09-26 10:19:48 +02:00