Skip to content

CodeShellDev/wol-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WoL Dockerized

WoL Dockerized is a Docker Container that allows you to start requested Docker Containers. It also stops Containers after a threshold of Inactivity.

Installation

Get the latest docker-compose.yaml file:

---
services:
  wol-dockerized:
    image: ghcr.io/codeshelldev/wol-dockerized:latest
    container_name: wol-dockerized
    environment:
      - PATTERN={HOSTNAME}
      - MONITOR_INTERVAL=60
      - INACTIVITY_THRESHOLD=600
docker compose up -d

Usage

Start Container with query: jellyfin.mydomain.com:

curl -X POST -H "Content-Type: application/json" -d '{"query": "jellyfin.mydomain.com"}' http://wol-dockerized.mydomain.com
---
services:
  jellyfin:
    image: jelylfin/jellyfin:latest
    labels:
      - wol.enable=true
      - wol.query=jellyfin.mydomain.com
      - wol.autostop=true

Contributing

License

MIT

About

WoL HTTP / Websocket Docker container for starting and auto stopping containers

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors