]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - README.md
Improved docker command.
[github/bastienwirtz/homer.git] / README.md
index 33716f63607fcc9fa76aac5bb59f24ce34d70a87..945fa1f7192393e737126a5c534c6d44aa366f76 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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" [...]`).