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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file d2cd-0.0.3b0.tar.gz.

File metadata

  • Download URL: d2cd-0.0.3b0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for d2cd-0.0.3b0.tar.gz
Algorithm Hash digest
SHA256 e886b7a16f3a11228b4d52227159abca5c23a28304d6560e7e6698c67beef1c1
MD5 40fd2de8a68becf79293e80e53ed0d20
BLAKE2b-256 15046a7fdb3bd670635766fb085e9884d6c398673e70e0754da7f02a4e314271

See more details on using hashes here.

File details

Details for the file d2cd-0.0.3b0-py3-none-any.whl.

File metadata

  • Download URL: d2cd-0.0.3b0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for d2cd-0.0.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8253f6a772610be51d3c62773af1eca30684f5b8583c06478ad75a53dc71356
MD5 f4b4861b47b222586f4bfb5ddf0c7241
BLAKE2b-256 2f27748d74fb3bb3c97d763c501dc97dd3775a8b5348bd16730f607970d018cb

See more details on using hashes here.

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