Portable Portainer Controller - a (hacky) cli tool to perform a "Portainer-Redeploy".
363
Main purpose is to re-deploy an existing Portainer Stack, re-pulling the images.
Use Docker to run this:
Help and usage:
docker run --rm --interactive --tty chluehr/ppc:latest ppc --help
Set the environment variables or use the options
List Stacks:
docker run -e PPC_TOKEN='ptr_KL...' -e PPC_HOST=my.portainer.host --rm --interactive --tty chluehr/ppc:latest ppc list
Or using .env file:
docker run --env-file .env --rm --interactive --tty chluehr/ppc:latest ppc list
Re-Deploy a Stack:
docker run --env-file .env --rm --interactive --tty chluehr/ppc:latest ppc redeploy my-stack-name
docker pull chluehr/ppc:latest