Update README.md

This commit is contained in:
omarc1492 2020-10-30 12:25:42 -05:00 committed by GitHub
parent 96da96b513
commit 1bf7929f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -122,12 +122,12 @@ docker-compose up -d mail
```
### Get up and running with SELinux
- Edit the files `.env` and `docker-compose.yml`
- Edit the files `.env` and `docker-compose.yml`:
- In `.env` uncomment the variable `SELINUX_LABEL`.
- If you want the volume bind mount to be shared amongst other containers switch `-Z` to `-z`.
- In `docker-compose.yml` uncomment the line that contains `${SELINUX_LABEL}` and comment out or remove the line above.
- When using `setup.sh` use the shell script option `-z` or `-Z`. The option used should match the value of `SELINUX_LABEL` in `.env`.\
**Note:** When using `setup.sh` use the shell script option `-z` or `-Z`. This should match the value of `SELINUX_LABEL` in `.env`.\
See the [wiki](https://github.com/tomav/docker-mailserver/wiki/Setup-docker-mailserver-using-the-script-setup.sh) for more information regarding `setup.sh`.
``` BASH