Skip to content

Commit c26f265

Browse files
committed
update
1 parent 43d9ee0 commit c26f265

File tree

4 files changed

+37
-6
lines changed

4 files changed

+37
-6
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
docker-compose.yaml
66
LICENSE
77
*.md
8-
.venv
8+
.venv
9+
examples

.github/templates/README.template.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
# REPO_NAME
1+
# WoL Dockerized
22

3-
Description
3+
WoL Dockerized is a Docker Container that allows you to start requested Docker Containers.
4+
It also stops Containers after a threshold of Inactivity.
45

56
## Installation
67

8+
Get the latest `docker-compose.yaml` file:
9+
10+
```yaml
11+
{ { file.docker-compose.yaml } }
12+
```
13+
14+
```bash
15+
docker compose up -d
16+
```
17+
718
## Usage
819

20+
Start Container with `query`: `jellyfin.mydomain.com`:
21+
22+
```bash
23+
curl -X POST -H "Content-Type: application/json" -d '{"query": "jellyfin.mydomain.com"}' http://wol-dockerized.mydomain.com
24+
```
25+
926
```yaml
10-
{{ file.docker-compose.yaml }}
27+
{ { file.examples/jellyfin-compose.yaml } }
1128
```
1229

1330
## Contributing

docker-compose.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---
22
services:
3-
myservice:
4-
container_name: myservice
3+
wol-dockerized:
4+
image: ghcr.io/codeshelldev/wol-dockerized:latest
5+
container_name: wol-dockerized
6+
environment:
7+
- PATTERN={HOSTNAME}
8+
- MONITOR_INTERVAL=60
9+
- INACTIVITY_THRESHOLD=600

examples/jellyfin-compose.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
services:
3+
jellyfin:
4+
image: jelylfin/jellyfin:latest
5+
labels:
6+
- wol.enable=true
7+
- wol.query=jellyfin.mydomain.com
8+
- wol.autostop=true

0 commit comments

Comments
 (0)