Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riccardotornesello/portainer-cli-deployer
CLI tool to easily deploy a container stacks to Portainer
https://github.com/riccardotornesello/portainer-cli-deployer
cicd docker docker-compose git portainer
Last synced: 5 days ago
JSON representation
CLI tool to easily deploy a container stacks to Portainer
- Host: GitHub
- URL: https://github.com/riccardotornesello/portainer-cli-deployer
- Owner: riccardotornesello
- License: mit
- Created: 2024-03-10T16:24:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-28T13:18:08.000Z (8 months ago)
- Last Synced: 2024-12-05T05:32:06.354Z (21 days ago)
- Topics: cicd, docker, docker-compose, git, portainer
- Language: TypeScript
- Homepage:
- Size: 236 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portainer CLI Deployer
Portainer CLI Deployer is a command-line tool designed to simplify the deployment of Docker stacks (using docker-compose) on Portainer directly from the terminal.
## Installation
Install Portainer CLI Deployer globally using npm:
```bash
npm install -g portainer-cli-deployer
```## Getting Started
To start using Portainer CLI Deployer, simply run the following command:
```bash
portainer-cli-deployer
```This command will initiate the deployment process and guide you through a series of questions to select the Portainer instance and environment, as well as the Git repository from which to read the docker-compose file.
If the repository is private, you will have the option to provide your username and password. Additionally, in this version, if the private repository is hosted on Gitlab, you can follow a guided procedure to automatically create an authentication token.
## Future Updates
In future versions, we plan to extend this capability to all major Git repository hosts, providing users with an easier experience across platforms.
### Roadmap
- [ ] Add support for Bitbucket private repositories automatically
- [ ] Add support for GitHub private repositories automatically
- [ ] Create authentication tokens only after the confirmation
- [ ] Allow not interactive use by passing all the required parameters as arguments
- [ ] Add support for deploying stacks from local files
- [ ] Add support for deploying stacks from a URL
- [ ] Add support for deploying stacks from a template
- [ ] Allow management of saved Portainer instances
- [ ] Allow saving GitLab's admin credentials## Feedback and Contributions
We welcome feedback and contributions from the community. Feel free to open an issue or submit a pull request on [GitHub](https://github.com/riccardotornesello/portainer-cli-deployer) to help us improve Portainer CLI Deployer.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.