Skip to content

Make port configurable. #111

Open

Description

@ionstorm66

What problem does this solve?

It is impossible to run if there is a port conflict without rebuilding container.

Proposed solution

The port should be configurable with a ENV.

Alternatives considered

No response

Activity

  1. utpalsinghdev commented on Oct 11, 2026

    @utpalsinghdev
    Contributor

    I traced the current container setup: nginx listens on 8080 for both IPv4 and IPv6, and Compose hardcodes 127.0.0.1:8080:8080. A normal host-port conflict can already be handled by publishing a different host port without rebuilding, but changing the internal listener would help host-network deployments and environments that require a specific port.

    I can add a runtime OPENCONCHO_PORT setting defaulting to 8080, validate it before rendering the nginx config, and cover the default, custom-port, and invalid-value cases with container tests. I would also document host-port mapping separately. This overlaps the config staging changes in #96, so I would keep the implementation compatible with that read-only-filesystem fix.

    Would you welcome a PR with that scope? Is your deployment using host networking, or do you only need to change the published host port? Also, is anyone already working on this?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions