Auto-deploy Docker image.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rootfs
.gitignore
Dockerfile
README.md
example.docker-compose.yml

README.md

Docker Auto Deploy

[Docker Stars][hub] [Docker Pulls][hub] Image Size Image Layers

Introduction

Super simple listener base based on docker-hook.

Used to trigger re-deployment when any Docker Hub web-hook is fired.

Includes

Notes

Here is an example docker-compose.yml file that uses this Docker Image, to listen to web-hooks on port 8080. When a hook is received, it will trigger docker-compose pull and docker-compose up -d in the volume /deploy.

version: "2"
services:
  auto-deploy: 
    build: ./
    image: "livingstone/auto-deploy"
    container_name: docker-auto-deploy
    restart: always
    environment:
      - "DIR=/opt/docker-image"
      - "AUTH_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "/root/.docker:/root/.docker"
      - "/opt/docker-image:/opt/docker-image"
    ports:
      - "8000:8000"

Current maintainers