docs: Add note about SELinux volume mount option in Docker guide
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

Something that I've discovered while trying to run FoundKey's
docker-compose config on Podman via podman-compose on my Fedora laptop.
This commit is contained in:
Norm 2023-04-12 00:35:34 -04:00
parent 340874c252
commit 95ecdeabff
Signed by: norm
GPG key ID: 7123E30E441E80DE

View file

@ -40,6 +40,7 @@ You will need to set the database host to `db` and Redis host to `redis` in orde
Edit `docker-compose.yml` if necessary. (e.g. if you want to change the port). Edit `docker-compose.yml` if necessary. (e.g. if you want to change the port).
If you are using SELinux (eg. you're on Fedora or a RHEL derivative), you'll want to add the `Z` mount flag to the volume mounts to allow the containers to access the contents of those volumes.
## Build and initialize ## Build and initialize
The following command will build FoundKey and initialize the database. The following command will build FoundKey and initialize the database.