Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Conversation

@oritromax
Copy link

This PR adds the ability to configure the application's port through an environment variable, making it more flexible for different deployment scenarios.

Changes made:

  • Modified Dockerfile to use PORT environment variable (default: 6050)
  • Updated run.py to read port from environment variable
  • Port can now be configured through docker-compose.yml or docker run command

Example usage:

# docker-compose.yml
services:
  streamdock:
    environment:
      PORT: "6050"  # Custom port

or

docker run -e PORT=6050 ghcr.io/limmer55/streamdock:latest

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant