mirror of https://github.com/bastienwirtz/homer
Improved docker command.
parent
3786f80dae
commit
9ba0d54e22
|
@ -73,7 +73,11 @@ See [documentation](docs/configuration.md) for information about the configurati
|
||||||
To launch container:
|
To launch container:
|
||||||
|
|
||||||
```sh
|
```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" [...]`).
|
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" [...]`).
|
||||||
|
|
Loading…
Reference in New Issue