Improved docker command.

This commit is contained in:
Bastien Wirtz 2021-02-15 22:23:16 -08:00
parent 3786f80dae
commit 9ba0d54e22

View File

@ -73,7 +73,11 @@ See [documentation](docs/configuration.md) for information about the configurati
To launch container:
```sh
docker run -p 8080:8080 -v /your/local/assets/:/www/assets b4bz/homer:latest
docker run -d \
-p 8080:8080 \
-v </your/local/assets/>:/www/assets \
--restart=always \
b4bz/homer:latest
```
Default assets will be automatically installed in the `/www/assets` directory. Use `UID` and/or `GID` env var to change the assets owner (`docker run -e "UID=1000" -e "GID=1000" [...]`).