mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-05-19 13:55:11 -04:00
make port customizable via env variable
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<toc-element topic="qBittorrent-Category.md"/>
|
||||
<toc-element topic="Base-Path.md"/>
|
||||
<toc-element topic="metadata-provider-configuration.md"/>
|
||||
<toc-element topic="Custom-port.md"/>
|
||||
</toc-element>
|
||||
<toc-element topic="troubleshooting.md"/>
|
||||
<toc-element topic="developer-guide.md"/>
|
||||
|
||||
4
Writerside/topics/Custom-port.md
Normal file
4
Writerside/topics/Custom-port.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Custom port
|
||||
|
||||
With the env variable `PORT`, you can change the port that MediaManager listens on. The default port is `8000`.
|
||||
Note that this setting only works if you are using the Docker Image.
|
||||
@@ -54,4 +54,6 @@ echo " Check the application logs for the login credentials."
|
||||
echo " You can also register a new user and it will become admin if the email"
|
||||
echo " matches one of the admin_emails in your config.toml"
|
||||
echo ""
|
||||
uv run fastapi run /app/media_manager/main.py --port 8000 --proxy-headers
|
||||
|
||||
PORT=${PORT:-8000}
|
||||
uv run fastapi run /app/media_manager/main.py --port "$PORT" --proxy-headers
|
||||
|
||||
Reference in New Issue
Block a user