Skip to content

zeeke/docker-compose-gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Docker Compose GitOps

Basic implementation of GitOps paradigm using docker-compose. This program continuously fetch a git repository and update docker-compose services.

Installation

Usage

$ git clone <Git URL with docker-compose configuration>
$ gitops.sh

With docker-compose

# /path/to/subfodler/docker-compose.yml

services:
  ...
  gitops:
    image: zeeke/docker-compose-gitops
    working_dir: /git/path/to/subfolder # Optional. Use it if docker-compose.yml is not in the root
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./:/git  # Or ../../:/git to map git repo root to /git

Next

[ ] Add a parameter to specify update interval [ ] Add a parameter to specify remote name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published