Skip to content

DeviousFusion/docker_restart_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_restart_manager

This project allows you to automatically restart Docker containers based on schedules specified through container labels.

Usage

version: '3.8'

services:
  my_service:
    image: my-container-image
    labels:
      - "drm.restart.schedule=03:00,15:00"
    # Other configuration like ports, volumes, etc.

  restart_cron:
    build: .
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # This is important to allow the container to control the host docker instance

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages