fix: use --network host and -k for internal Portainer access #26

Merged
elvis merged 1 commit from feat/cicd_improvements into main 2026-05-28 18:25:23 +00:00
Owner

Summary

The public Portainer URL (portainer.*bui.com) is behind an SSO proxy that redirects API requests to an auth page — the Alpine container can never authenticate through it.

Fix:

  • --network host on docker run so the Alpine container uses the NAS's network stack and can reach 192.168.1.125
  • -k on all curl calls to skip TLS verification for the self-signed cert on the internal address

Required: update the PORTAINER_URL secret to https://192.168.1.125:1000

🤖 Generated with Claude Code

## Summary The public Portainer URL (`portainer.*bui.com`) is behind an SSO proxy that redirects API requests to an auth page — the Alpine container can never authenticate through it. Fix: - `--network host` on `docker run` so the Alpine container uses the NAS's network stack and can reach `192.168.1.125` - `-k` on all curl calls to skip TLS verification for the self-signed cert on the internal address **Required:** update the `PORTAINER_URL` secret to `https://192.168.1.125:1000` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: use --network host and skip TLS verify for internal Portainer URL
Some checks failed
Test / test (pull_request) Failing after 3s
71c49559c0
The public Portainer URL is behind SSO. Switch to the internal NAS IP
(https://192.168.1.125:1000) which requires --network host so the
Alpine container can reach it, and -k to skip self-signed cert verification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
elvis merged commit 559bbc1618 into main 2026-05-28 18:25:23 +00:00
elvis deleted branch feat/cicd_improvements 2026-05-28 18:25:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
elvis/actual-mcp!26
No description provided.