1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00
3165: Documentation: config-export had wrong example. r=mergify[bot] a=migs35323

fixing the example command flag.
running the example command to export the configuration throws: Error: [KeyError] 'mail-config'

this is valid for any version of mailu (at the time)

## What type of PR?

documentation

## What does this PR do?




Co-authored-by: migs35323 <92784574+migs35323@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
This commit is contained in:
bors-mailu[bot] 2024-03-18 15:26:34 +00:00 committed by GitHub
commit 10ade025ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ Attributes explicitly specified in filters are automatically exported: there is
.. code-block:: bash
$ docker compose exec admin flask mailu config-export --output mail-config.yml
$ docker compose exec admin flask mailu config-export --output-file mail-config.yml
$ docker compose exec -T admin flask mailu config-export domain.dns_mx domain.dns_spf

View File

@ -17,7 +17,7 @@ This means it is not possible to switch the database back-end used by roundcube
To switch to a different database back-end:
1. Run config-export to export the configuration. E.g. `docker compose exec admin flask mailu config-export --secrets --output /data/mail-config.yml`
1. Run config-export to export the configuration. E.g. `docker compose exec admin flask mailu config-export --secrets --output-file /data/mail-config.yml`
2. Set up your new database server. Refer to the subsequent sections for tips for creating the database.
3. Modify the database settings (SQLAlchemy database URL) in mailu.env. Refer to the :ref:`configuration guide (link) <db_settings>` for the exact settings.
4. Start your Mailu deployment.