Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthewjohn/portainer-deployment-example
Example deployment script for portainer
https://github.com/matthewjohn/portainer-deployment-example
deployment docker portainer python
Last synced: 4 days ago
JSON representation
Example deployment script for portainer
- Host: GitHub
- URL: https://github.com/matthewjohn/portainer-deployment-example
- Owner: MatthewJohn
- Created: 2018-04-28T23:03:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T09:21:10.000Z (almost 7 years ago)
- Last Synced: 2024-12-14T14:12:06.246Z (about 2 months ago)
- Topics: deployment, docker, portainer, python
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Portainer deployment script
## Install requirements
apt-get update && apt-get install python-yaml python-requests --assume-yes
or...
pip install requests yaml
## Configuration
Fill out credentials.yaml with hostname, username, password and endpoint to be used.
## Running
./deploy.py --stack-name --deploy-version --tag-parameter
NOTE: The last parameter is used to traverse the docker-compose yaml. For example, if your docker-compose contains something like:
services:
web:
image: my-docker-image:latestthen the argument would be: `'services,web,image'`