Update README.md

This commit is contained in:
myve 2024-08-20 00:55:02 +00:00
commit f0f83ebf6a

View file

@ -38,20 +38,12 @@ Clone this repo and build it locally or pull it on the registry specified in doc
git clone https://myvelabs.com/docker/mail.git
```
Supply the variables asked for in nginx-setup.sh and generate-env.sh.
Supply the variables asked for in 01-setup.sh.
Run **nginx-setup.sh** to generate the proxy and Letsencrypt certificates to be used by Postfix and Dovecot.
Run **generate-env.sh** for a functional docker-compose env file.
Initialize the docker container with the setup script. This installs the MariaDB database and adds the postmaster and mail user.
Run **01-setup.sh** to install the proxy and Letsencrypt certificates to be used by Postfix and Dovecot. It also generates a functional docker-compose env file.
*Note: The container will fail if this step is skipped.*
```
docker compose run --rm --interactive --tty myvemail setup
```
Once completed, the container may be brought up:
```