From 9ba0d54e2213b2a4313a92390d5ce06dbf7b6a63 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 15 Feb 2021 22:23:16 -0800 Subject: [PATCH] Improved docker command. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 33716f6..945fa1f 100644 --- 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 :/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" [...]`). -- 2.41.0