2.1.4 • Published 4 years ago
portainer-update v2.1.4
Portainer Update
This tool can be used to update a stack via the portainer project.
Feature list
- Update existing stacks
- Read a docker-compose file from file system
- Make tool available through npx
- Deploy new stacks
Usage
==Attention: Portainer only supports compose file version 2 at the moment==
Example Usage
npx portainer-update -p <Stackname> -u <Portainer Username> --password <Portainer Password> -f <Path to docker compose> -s <Portainer URL>
Parameters
Parameter | Name | Description | Required |
---|---|---|---|
-h | --help | Help | Show this parameter table | |
-e | --env | Envrionment | At the moment this parameter has no effect | |
-p | --project | Stackname | The name of the stack you want to update | X |
-u | --user | Portainer Username | The username of the user which will update the stack ==The user need the permission to edit the stack== | X |
--password | Portainer Password | This tool is for use in CiCD pipelines so please provide the password as a secret variable | X |
-f | --compose | Path to compose | Fill in the path to the compose file, which you want to deploy | X |
-s | --portainersystem | Portainer API URL | The address where to find portainer API (The url you are browsing to in your browser) | Default value: http://localhost:9000 |
--endpoint | Endpoint ID | The id of the endpoint where the stack should be deployed | Default value: 1 |
2.1.3-beta-b.6.0
4 years ago
2.1.4
4 years ago
2.1.3-beta-b.5.0
4 years ago
2.1.3
5 years ago
2.1.3-beta-b.4.0
5 years ago
2.1.3-alpha-b.13.0
5 years ago
2.1.2-3.0
5 years ago
2.1.2-12.0
5 years ago
2.1.2-0
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.0
5 years ago
1.0.0
5 years ago