Sign inSign up

livingstoneonline/auto-deploy

By livingstoneonline

•Updated over 9 years ago

Auto-deploy Docker image.

Image
1

344

livingstoneonline/auto-deploy repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

57.6 MB

Last updated

over 9 years ago

docker pull livingstoneonline/auto-deploy