Skip to content

v2.9.0

Choose a tag to compare

@Ext745 Ext745 released this 29 Sep 01:36
· 81 commits to master since this release

Added

  • Import Portainer stacks (Import Stacks → Portainer stacks).
    • Connecting: enter Portainer's URL and an access token (Portainer → My account → Access tokens). The token is only used on that page and is never saved. There's an option to accept Portainer's default self-signed certificate.
    • Stack variables come along: Portainer keeps them in its own database, so Dockge writes them into the stack's .env. Without them the stack would break on its next deploy.
    • Data stays where it is: relative bind mounts point at the exact host folder Portainer's deploy used, and named volumes carry over.
    • Same safety as other imports: a backup record, optional recreate, Roll back and Keep.
    • Refused with a reason: Swarm stacks, stacks running on another Portainer environment, and stacks Portainer is still deploying.
    • Afterwards: Portainer keeps listing an imported stack. Don't use Portainer's Stop or Delete on it, because those act on the containers Dockge now manages.

Fixed

  • Plain compose import now refuses stacks deployed by Portainer and points to the Portainer import. Before, it would have read the wrong file and lost the stack variables.
  • Dockge now recognises its own container reliably. The check relied on the container's hostname, which isn't the container ID when Dockge's compose file sets hostname: or uses network_mode: host. In that case Dockge could offer to import itself, and the "don't stop the stack that contains Dockge" protection could miss. It now reads the container ID directly.

Image: ghcr.io/ext745/dockge:2.9.0