diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-02-15 22:23:16 -0800 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-02-15 22:23:16 -0800 |
commit | 9ba0d54e2213b2a4313a92390d5ce06dbf7b6a63 (patch) | |
tree | 84769bb34b8d84ef5644347aa174a4fd19860594 /README.md | |
parent | 3786f80dae2df7780d19ba8ffd9374ef3c2fc30f (diff) | |
download | homer-9ba0d54e2213b2a4313a92390d5ce06dbf7b6a63.tar.gz homer-9ba0d54e2213b2a4313a92390d5ce06dbf7b6a63.tar.zst homer-9ba0d54e2213b2a4313a92390d5ce06dbf7b6a63.zip |
Improved docker command.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -73,7 +73,11 @@ See [documentation](docs/configuration.md) for information about the configurati | |||
73 | To launch container: | 73 | To launch container: |
74 | 74 | ||
75 | ```sh | 75 | ```sh |
76 | docker run -p 8080:8080 -v /your/local/assets/:/www/assets b4bz/homer:latest | 76 | docker run -d \ |
77 | -p 8080:8080 \ | ||
78 | -v </your/local/assets/>:/www/assets \ | ||
79 | --restart=always \ | ||
80 | b4bz/homer:latest | ||
77 | ``` | 81 | ``` |
78 | 82 | ||
79 | 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" [...]`). | 83 | 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" [...]`). |