Hopefully improved documentation around initial admin account creation.

This commit is contained in:
cristi
2019-05-21 21:06:25 +03:00
parent f2a009795b
commit 078082fac9
3 changed files with 43 additions and 21 deletions

View File

@@ -96,7 +96,13 @@ You may now start Mailu. Move the to the Mailu directory and run:
docker-compose up -d
Finally, you must create the initial admin user account:
Finally, you need an admin user account.
You can have the system create it automatically:
use the environment variables ``INITIAL_ACCOUNT*`` as described in :ref:`admin_account`
You should set ``INITIAL_ADMIN_MODE`` also to either ``update`` or ``ifmissing``. Leaving it with the default value could cause errors when restarting the system.
Else, if you don't go with the automatic way, you need to manually create the admin account now:
.. code-block:: bash