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

event port #3

Open
hmoffatt opened this issue Jun 20, 2024 · 6 comments
Open

event port #3

hmoffatt opened this issue Jun 20, 2024 · 6 comments

Comments

@hmoffatt
Copy link

Will events work with Firebird running inside the container? I didn't try it, but I suspect not. Firebird randomly allocates the port and as it isn't mapped/exposed to the host, clients won't be able to connect. I think the solution is to configure a fixed port and expose that also.

@fdcastel
Copy link
Owner

I didn't test this feature, but I don't see any reason why it should not work.

Just use FIREBIRD_CONF_RemoteAuxPort environment variable to set the value of RemoteAuxPort in firebird.conf to a specific port and publish the port to the host.

@hmoffatt
Copy link
Author

That should work, but would it better to provide a working configuration out of the box?

@fdcastel
Copy link
Owner

Suggestions?

@hmoffatt
Copy link
Author

Set a default port, perhaps 3051, in the firebird.conf and EXPOSE it?

@fdcastel
Copy link
Owner

fdcastel commented Jun 28, 2024

For a rarely used feature, and one that the FIREBIRD_CONF_* env vars could easily solve for anyone who needs it, do you really think this is needed in the base image?

Also, the lack of a standardized port.

@hmoffatt
Copy link
Author

If not in the base image, then an example config in the README at least? Only because it will be quite confusing for users who do use events when they don't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants