5b54c85e9add932d31fff809dbb64a5250fb9504
Portainer Stack Exporter
This is a small tool to export Docker-Compose Yaml definitions from Portainer to separate files for easy backup.
Preparations
-
Generate a new Access Token in Portainer (My account --> Access tokens)
-
Copy the
CONFIG.exampletoCONFIGand update the URL to your Portainer instance as well as the access token you've generated in step 1 -
Install project dependencies (requests and rich) by running your favourite dependency manager. (If you're using uv, it'll do this automatically on the first run.)
Languages
Python
100%