Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add broker listen config to wgkex.yaml #92

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

DasSkelett
Copy link
Member

Problem

We have troubles running the broker from the current main image, since we need the broker to listen on 0.0.0.0 in the Docker container to expose the port.
This is currently not configurable, and setting FLASK_RUN_HOST in the Dockerfile or docker-compose.yml doesn't work either, probably because we don't use flask run to start the server.

Changes

A new optional section broker_listen with the subkeys host and port is added to wgkex.yaml`.
They are passed to Flask if specified, otherwise the Flask defaults are kept.

Tested locally and in an earlier version on docker04.

@DasSkelett DasSkelett added the enhancement New feature or request label Oct 23, 2022
Copy link
Member

@GoliathLabs GoliathLabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@awlx awlx merged commit f37fdd0 into freifunkMUC:main Oct 23, 2022
@DasSkelett DasSkelett deleted the fix/add-listen-config-option branch October 26, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants