fdcastel / firebird-docker

Docker images for Firebird Database
4 stars 1 forks source link

event port #3

Open hmoffatt opened 1 week ago

hmoffatt commented 1 week ago

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 commented 1 week ago

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 commented 2 days ago

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

fdcastel commented 1 day ago

Suggestions?

hmoffatt commented 1 day ago

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

fdcastel commented 21 hours ago

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.