Skip to main content

Docker Compose Continuous Delivery

Project description

d2cd

Note: This project is currently under active development.

Docker Compose Continuous Delivery (d2cd) is a GitOps agent designed to maintain the state of your Docker Compose projects on your server by continuously applying changes from a Git repository.

Install

Docker Compose is the recomended way

# download docker-compose.yml
$ wget https://raw.githubusercontent.com/veerendra2/d2cd/main/docker-compose.yml

# configure `config.yml` and run
$ docker compose up -d

From source

Note: This tool is currently in beta stage, and daemonization is not yet implemented.

$ git clone git@github.com:veerendra2/d2cd.git
$ cd d2cd
$ pip3 install .

Configuration

Below is a sample config.yml file to help you get started:

---
sync_interval_seconds: 600
repos:
  - name: d2cd-test
    url: git@github.com:veerendra2/d2cd-test-repo.git
    branch: main
    auth:
      ssh_key_location: "~/.ssh/id_rsa"
    docker_compose_paths:
      - python/docker-compose.yml

You can also use username and password(token) for authentication

sync_interval_seconds: 600
repos:
  - name: d2cd-test
    url: git@github.com:veerendra2/d2cd-test-repo.git
    branch: main
    auth:
      username: "USERNAME"
      password: "PASSWORD"
    docker_compose_paths:
      - python/docker-compose.yml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d2cd-0.0.3b0.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

d2cd-0.0.3b0-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page