Skip to content

pymet/service-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

service-update

Update Docker services automatically.

Example:

version: '3.3'
services:
  service-update:
    image: daninet/service-update:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - REGISTRY=registry.yourdomain.com
      - REGISTRY_USER=admin
      - REGISTRY_PASSWORD=password
      - VERBOSE=true
      - PRUNE_CONTAINERS=true
      - PRUNE_IMAGES=true
      - INTERVAL=10
    deploy:
      restart_policy:
        condition: on-failure
  example-watched-app:
    image: registry.yourdomain.com/name/example-watched-app:latest
    deploy:
      labels:
        - "com.pymet.serviceupdate.watch=true"
      restart_policy:
        condition: on-failure

About

Update Docker services automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published