1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Update README.md

This commit is contained in:
omarc1492
2020-10-30 12:25:42 -05:00
committed by GitHub
parent 96da96b513
commit 1bf7929f87

View File

@ -122,12 +122,12 @@ docker-compose up -d mail
``` ```
### Get up and running with SELinux ### 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`. - In `.env` uncomment the variable `SELINUX_LABEL`.
- If you want the volume bind mount to be shared amongst other containers switch `-Z` to `-z`. - 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. - 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`. 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 ``` BASH