mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
📝 Adds documentation for volume mounting
This commit is contained in:
@@ -43,7 +43,7 @@ _Requirements_:
|
|||||||
|
|
||||||
**Standard Docker Install**
|
**Standard Docker Install**
|
||||||
```sh
|
```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**
|
**Docker Compose**
|
||||||
@@ -56,12 +56,16 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
homarr:
|
homarr:
|
||||||
container_name: homarr
|
container_name: homarr
|
||||||
image: ghcr.io/ajnart/homarr
|
image: ghcr.io/ajnart/homarr:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /data/docker/homarr:/app/data/configs
|
||||||
ports:
|
ports:
|
||||||
- '7575:7575'
|
- '7575:7575'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
***Getting EACCESS errors in the logs? Try running `sudo chmod 775 /directory-you-mounted-to`!***
|
||||||
|
|
||||||
### Building from Source 🛠️
|
### Building from Source 🛠️
|
||||||
|
|
||||||
_Requirements_:
|
_Requirements_:
|
||||||
|
|||||||
Reference in New Issue
Block a user