Python service for seamless rolling updates of docker services.
- Clone the repo
- Build the docker image:
docker built -t deku .
- Start the service:
docker-compose up -d
The service is available at http://localhost:19231
Note: This service requires access to your docker socket. Refer to docker-compose.yml
- DOCKER_SOCKET: Unix format uri to docker socket. eg:
unix://somefolder/docker.sock
. Needs to be passed as environment variable - AUTH_TOKEN: This is used for authenticating the calls. This is passed as envrionment variable as well.
- Accepted method: POST
- Parameters:
- secret: Should be equal to AUTH_TOKEN for authenticating the requests. Throws
Invalid secret.
error - name: Name of service to update / get status of
- label: Label associated with service to update / get status of
- image: New image that service needs to be updated to. Without this parameter you will only get last update status.
- secret: Should be equal to AUTH_TOKEN for authenticating the requests. Throws