chore: Update documentation to reflect image changes

This commit is contained in:
daniele 2023-03-25 11:58:55 +02:00 committed by daniele
parent f1d2fb5bdf
commit b6428a51ef
2 changed files with 10 additions and 1 deletions

View file

@ -16,6 +16,9 @@
[Configuration & Docker Compose](https://hay-kot.github.io/homebox/quick-start)
```bash
# Ensure data folder has correct permissions
mkdir -p /path/to/data/folder
chown 65532:65532 -R /path/to/data/folder
docker run -d \
--name homebox \
--restart unless-stopped \

View file

@ -5,7 +5,10 @@
Great for testing out the application, but not recommended for stable use. Checkout the docker-compose for the recommended deployment.
```sh
docker run -d \
# Ensure data folder has correct permissions
$ mkdir -p /path/to/data/folder
$ chown 65532:65532 -R /path/to/data/folder
$ docker run -d \
--name homebox \
--restart unless-stopped \
--publish 3100:7745 \
@ -38,6 +41,9 @@ volumes:
driver: local
```
!!! note
If instead of using named volumes you would prefer using a hostMount directly (e.g., `volumes: [ /path/to/data/folder:/data ]`) you need to `chown` the chosen directory in advance to the `65532` user (as shown in the Docker example above).
## Env Variables & Configuration
| Variable | Default | Description |