Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

binary-com/deku

Repository files navigation

Deku CircleCI

Python service for seamless rolling updates of docker services.


Usage

  • 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

Options

  • 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.

Endpoints

/update

  • 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages