Fix Readme usage: Start container before running setup.sh (#1054)

This commit is contained in:
Birkenstab 2018-10-14 21:41:52 +02:00 committed by Johan Smits
parent 92002041ba
commit 8f48d0536f

View file

@ -65,6 +65,9 @@ Download the docker-compose.yml, the .env and the setup.sh files:
- Edit the `.env` to your liking. Adapt this file with your FQDN.
- Install [docker-compose](https://docs.docker.com/compose/) in the version `1.6` or higher.
#### Start Container
docker-compose up -d mail
#### Create your mail accounts
./setup.sh email add <user@domain> [<password>]
@ -75,8 +78,9 @@ Download the docker-compose.yml, the .env and the setup.sh files:
Now the keys are generated, you can configure your DNS server by just pasting the content of `config/opendkim/keys/domain.tld/mail.txt` in your `domain.tld.hosts` zone.
#### Start the container
#### Restart the container
docker-compose down
docker-compose up -d mail
You're done!