Skip to content

Websoft9/plugin-portainer

Repository files navigation

License: GPL v3 GitHub last commit GitHub Release Date GitHub Repo stars

Websoft9 Plugin - portainer

This plugin is the entrance to portainer service, it is used to manage installed applications and docker containers.

image

Installation and update

Your server must be have Websoft9 installed.

wget https://websoft9.github.io/websoft9/scripts/update_zip.sh && bash ./update_zip.sh --channel release --package_name "portainer-latest.zip" --sync_to "/usr/share/cockpit/portainer"

Security Considerations

Current Limitation: Portainer credentials are retrieved client-side and briefly visible in browser DevTools during authentication. This is mitigated by:

  • Cockpit authentication required: Users must authenticate with Cockpit before accessing the plugin
  • Local network usage: Plugin is typically used in local/trusted networks, not exposed to public internet
  • Planned improvement: Story 4.4 will implement backend proxy to keep credentials server-side only

Recommendations:

  • ✅ Use the plugin in trusted environments (local networks, VPNs)
  • ⚠️ Avoid using on shared/untrusted systems until backend proxy is implemented (Story 4.4)
  • ✅ Regularly rotate Portainer credentials for enhanced security

Session Management:

  • JWT tokens are stored as cookies with 8-hour expiration
  • Automatic token refresh occurs 5 minutes before expiry
  • Graceful degradation: If SSO fails, users can manually login to Portainer

Development

See Developer.md for details about how to efficiently change the code, run, and test it.

Building

These commands check out the source and build it into the directory:build/

git clone https://github.com/Websoft9/plugin-portainer
cd plugin-portainer
npm build

You can also triggers action workflow for building

Release

When

Two scenarios that trigger this plugin release:

  • Add new functions for this plugin
  • Websoft9 release

How

You should following the standard release process.

Every release will creates the official release zipball and publishes as upstream release to GitHub

License

plugin-portainer is maintained by Websoft9 and released under the GPL3 license.

About

Websoft9 plugin which for connect Portainer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •