https://github.com/akashbabu/docker-deploy-http
HTTP Hook for automated deployment of images to docker-swarm
https://github.com/akashbabu/docker-deploy-http
automation deployment docker http images swarm webhook
Last synced: 10 months ago
JSON representation
HTTP Hook for automated deployment of images to docker-swarm
- Host: GitHub
- URL: https://github.com/akashbabu/docker-deploy-http
- Owner: AkashBabu
- License: mit
- Created: 2019-01-31T12:05:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T12:07:09.000Z (over 3 years ago)
- Last Synced: 2025-01-19T18:53:35.757Z (about 1 year ago)
- Topics: automation, deployment, docker, http, images, swarm, webhook
- Language: JavaScript
- Size: 506 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-deploy-http
HTTP Hook for automated deployment of images to docker-swarm
## Usage
#### Config
`config.json` (docker config)
```JSON
{
"registry": "registry.gitlab.com",
"deployments": {
"production": {
"/": {
"service": "hello world"
}
}
}
}
```
#### Secrets
`docker_creds.json` (docker secret)
```JSON
{
"user": "",
"pass": ""
}
```
`secret.txt` (docker secret)
```text
awe5tqwiguy9qh49th9rhfuqwdfv980
```
#### Volume bind
/var/run/docker.sock:/var/run/docker.sock
#### Environment Variables
ENV=\
PORT=\ (*defaults to 9000*)
#### Publish Port
:
# Roadmap
- [ ] Documentation
- [ ] Notification support
- [ ] Add hook support after deployment
- [ ] Design a way to check if any images has been updated on every restart
- [ ] Support passing options to docker service via config
- [ ] Support aborting previous deployment ON new pipeline event