5b54c85e9a
Signed-off-by: Markus Birth <markus@birth-online.de>
21 lines
729 B
Markdown
21 lines
729 B
Markdown
Portainer Stack Exporter
|
|
========================
|
|
|
|
This is a small tool to export Docker-Compose Yaml definitions from Portainer
|
|
to separate files for easy backup.
|
|
|
|
Preparations
|
|
------------
|
|
|
|
1. Generate a new Access Token in Portainer (My account --> Access tokens)
|
|
|
|
2. Copy the `CONFIG.example` to `CONFIG` and update the URL to your Portainer
|
|
instance as well as the access token you've generated in step 1
|
|
|
|
3. Install project dependencies ([requests](https://docs.python-requests.org/en/latest/)
|
|
and [rich](https://rich.readthedocs.io/en/latest/introduction.html))
|
|
by running your favourite dependency manager.
|
|
(If you're using [uv](https://docs.astral.sh/uv/), it'll do this automatically on the
|
|
first run.)
|
|
|