diff options
author | Bernhard Großer <bernhard.grosser@gmail.com> | 2021-06-21 19:33:21 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-04-30 10:46:00 +0200 |
commit | caf5fae8a849f740a603e0377be75df2043fae7f (patch) | |
tree | 57083f39951294a93219b5ad253b596f365101c6 /README.md | |
parent | af0a6e89c9104ed69766e41f032a4b610ef67ccd (diff) | |
download | homer-caf5fae8a849f740a603e0377be75df2043fae7f.tar.gz homer-caf5fae8a849f740a603e0377be75df2043fae7f.tar.zst homer-caf5fae8a849f740a603e0377be75df2043fae7f.zip |
Added feature for subfolder hosting
By setting the SUBFOLDER env var, you can host Homer in a subfolder behind a reverse proxy.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -83,6 +83,10 @@ docker run -d \ | |||
83 | 83 | ||
84 | 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" [...]`). | 84 | 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" [...]`). |
85 | 85 | ||
86 | ## Host in subfolder | ||
87 | |||
88 | If you would like to host Homer in a subfolder, for e.g. behind a reverse proxy, supply the name of subfolder by using the `SUBFOLDER` env var. | ||
89 | |||
86 | ### Using docker-compose | 90 | ### Using docker-compose |
87 | 91 | ||
88 | The `docker-compose.yml` file must be edited to match your needs. | 92 | The `docker-compose.yml` file must be edited to match your needs. |