mirror of
https://github.com/router-for-me/CLIProxyAPIBusiness.git
synced 2026-04-24 23:15:57 +03:00
[PR #4] feat: add configurable server port via environment variable #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CLIProxyAPIBusiness#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/router-for-me/CLIProxyAPIBusiness/pull/4
Author: @sususu98
Created: 1/17/2026
Status: 🔄 Open
Base:
main← Head:feature/configurable-server-port📝 Commits (1)
a296001feat: add configurable server port via environment variable📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
.env.example(+3 -0)📝
docker-compose.yml(+4 -2)📄 Description
Summary
SERVER_PORTenvironment variable to.env.examplefor documentationdocker-compose.ymlto use${SERVER_PORT:-8318}for host port mapping, enabling flexible deployment across different environmentsChanges
.env.exampleSERVER_PORT=8318configurationdocker-compose.ymlTest Plan
docker-compose configoutputs valid configurationSERVER_PORTset)SERVER_PORTvalue🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.