mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
inform about proper setup.sh
usage between versions
This commit is contained in:
parent
f3f38db0f9
commit
d221c585c2
16
README.md
16
README.md
|
@ -74,13 +74,21 @@ All workflows are using the **tagging convention** listed below. It is subsequen
|
|||
|
||||
### Get the tools
|
||||
|
||||
Download the `docker-compose.yml`, `compose.env`, `mailserver.env` and the `setup.sh` files:
|
||||
Download `docker-compose.yml`, `compose.env`, `mailserver.env`
|
||||
|
||||
``` BASH
|
||||
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
|
||||
wget -O .env https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/compose.env
|
||||
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/docker-compose.yml
|
||||
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/mailserver.env
|
||||
wget -O .env https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/compose.env
|
||||
```
|
||||
|
||||
and the `setup.sh`
|
||||
|
||||
``` BASH
|
||||
# if you're using :edge as the image tag
|
||||
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
|
||||
# if you're using :latest (= :8.0.1) as the image tag
|
||||
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/v8.0.1/setup.sh
|
||||
|
||||
chmod a+x ./setup.sh
|
||||
|
||||
|
@ -88,6 +96,8 @@ chmod a+x ./setup.sh
|
|||
./setup.sh help
|
||||
```
|
||||
|
||||
**Make sure to get the `setup.sh` that comes with the release you're using**. Look up the release and the git commit on which this release is based upon by selecting the appropriate tag on GitHub. This is done to rule out possible inconsistencies between versions.
|
||||
|
||||
### Create a docker-compose environment
|
||||
|
||||
- [Install the latest docker-compose](https://docs.docker.com/compose/install/)
|
||||
|
|
|
@ -1127,10 +1127,10 @@ EOF
|
|||
assert_failure
|
||||
}
|
||||
|
||||
@test "checking setup.sh: setup.sh config dkim help" {
|
||||
@test "setup.sh :: setup.sh config dkim help correctly displayed" {
|
||||
run ./setup.sh -c mail config dkim help
|
||||
assert_success
|
||||
assert_line --index 2 " open-dkim - configure DomainKeys Identified Mail (DKIM)"
|
||||
assert_line --index 3 " open-dkim - configure DomainKeys Identified Mail (DKIM)"
|
||||
}
|
||||
|
||||
# debug
|
||||
|
|
Loading…
Reference in a new issue