Add PORT usage in Readme

Add `PORT` usage in Readme for repointing internal port, as mentioned on https://github.com/bastienwirtz/homer/issues/489
This commit is contained in:
ChrHan 2022-07-28 16:00:57 +07:00 committed by GitHub
parent 9371c1537c
commit 38c1aa3a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,10 @@ Install example configuration file & assets (favicons, ...) to help you get star
* **`SUBFOLDER`** (default: `null`)
If you would like to host Homer in a subfolder, (ex: *http://my-domain/**homer***), set this to the subfolder path (ex `/homer`).
* **`PORT`** (default: `8080`)
If you would like to change internal port of Homer from default `8080` to your port choice.
#### With docker-compose
A [`docker-compose.yml`](docker-compose.yml) file is available as an example. It must be edited to match your needs. You probably want to adjust the port mapping and volume binding (equivalent to `-p` and `-v` arguments).