-
-
Notifications
You must be signed in to change notification settings - Fork 20
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 Ingress support #120
Add Ingress support #120
Conversation
\ | ||
&& mkdir -p /opt/uptime-kuma \ | ||
&& curl -L -s "https://github.com/louislam/uptime-kuma/archive/refs/tags/${UPTIME_KUMA_VERSION}.tar.gz" \ | ||
| tar zxvf - --strip-components 1 -C /opt/uptime-kuma \ | ||
&& git clone --depth 1 --branch add-ips-to-allow https://github.com/inverse/uptime-kuma.git /opt/uptime-kuma \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now it's a PR on their repo: louislam/uptime-kuma#3981
But I wanted to try and get this working as I saw it was a requirement to restrict access to 172.30.32.2
.
@@ -10,4 +10,7 @@ cd /opt/uptime-kuma || bashio::exit.nok "Could not change directory to Uptime Ku | |||
|
|||
bashio::log.info "Starting Uptime Kuma..." | |||
|
|||
exec node server/server.js --data-dir="/data/" | |||
export UPTIME_KUMA_DB_TYPE=sqlite | |||
export UPTIME_KUMA_DB_NAME=kuma.db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two are required as they changed the way the DB is setup on master https://github.com/louislam/uptime-kuma/pull/2738/files#diff-c3ca73872fa7aee135c0942cff2eab343c8137fdb5b1d72a7d41ef9effbf9f16R49
export UPTIME_KUMA_DB_TYPE=sqlite | ||
export UPTIME_KUMA_DB_NAME=kuma.db | ||
|
||
exec node server/server.js --data-dir="/data/" --ips-to-allow="::ffff:172.30.32.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me only worked with this hybrid IP notation
Closing this, as this is not possible with the current stable release of Uptime Kuma. Reverse proxing in a subfolder (which ingress eventually is), doesn't work. This is a long outstanding feature request at their end. ../Frenck |
Proposed Changes
First time trying to do this so any advice would be helpful.
However getting 404 when trying to access the main page. Any idea how to troubleshoot this?
Related Issues