Api is not compatible with Kubernetes NodePort network interfaces #1095
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The lack of this environment variable,
VIKUNJA_DATABASE_PORT
makes it impossible to use the backend in a kubernetes environment usingNodePort
, as the NodePort specification only allows allocation and exposure of ports30000-32768
to the outside world. The api has port3306
hardcoded.Proposed Solution
Add an environment variable named
VIKUNJA_DATABASE_PORT
in the docker image to allow the user to specify which port, the database server can be found at. This environment variable would be substituted in the database connection implementation functionality.Did you try specifying the port as part of the db host?
Closing this as I belive it has been solved, please ping if you're still having issues with it.