📝 Adds documentation for volume mounting

This commit is contained in:
Walkx
2022-05-13 18:58:06 +02:00
committed by Aj - Thomas
parent 79dd1f3296
commit 5159edbea1

View File

@@ -43,7 +43,7 @@ _Requirements_:
**Standard Docker Install**
```sh
docker run --name homarr -p 7575:7575 -d ghcr.io/ajnart/homarr
docker run --name homarr -p 7575:7575 -v /data/docker/homarr:/app/data/configs -d ghcr.io/ajnart/homarr:latest
```
**Docker Compose**
@@ -56,12 +56,16 @@ version: '3'
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /data/docker/homarr:/app/data/configs
ports:
- '7575:7575'
```
***Getting EACCESS errors in the logs? Try running `sudo chmod 775 /directory-you-mounted-to`!***
### Building from Source 🛠️
_Requirements_: