Improved docker command.

pull/196/head
Bastien Wirtz 2021-02-15 22:23:16 -08:00
parent 3786f80dae
commit 9ba0d54e22
1 changed files with 5 additions and 1 deletions

View File

@ -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" [...]`).