An open API service indexing awesome lists of open source software.

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

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