Skip to content

Commit 9730d70

Browse files
committed
2 parents 6b3f86f + bef5228 commit 9730d70

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
1. Get the latest `docker-compose.yaml` file:
5252

53-
```
53+
```yaml
5454
services:
5555
wol-dockerized:
5656
image: ghcr.io/codeshelldev/wol-dockerized:latest
@@ -67,7 +67,7 @@ services:
6767
6868
2. Start the container:
6969
70-
```
70+
```bash
7171
docker compose up -d
7272
```
7373

@@ -79,9 +79,9 @@ docker compose up -d
7979

8080
To enable automatic stopping of containers after a period of inactivity, you must redirect requests to:
8181

82-
'''
82+
```
8383
http://wol-dockerized:7777/activity
84-
'''
84+
```
8585

8686
> [!NOTE]
8787
> This is currently not straightforward. You cannot just redirect to `/activity`. You need to use a _forward auth_ middleware.
@@ -95,13 +95,13 @@ See [Traefik Forward Auth Middleware](https://doc.traefik.io/traefik/middlewares
9595

9696
Start a container by specifying a `query`, for example: `jellyfin.mydomain.com`:
9797

98-
```
98+
```bash
9999
curl -X POST -H "Content-Type: application/json" -d '{"query": "jellyfin.mydomain.com"}' http://wol-dockerized:7777/wake
100100
```
101101

102102
Example `docker-compose` configuration for the container:
103103

104-
```
104+
```yaml
105105
services:
106106
jellyfin:
107107
image: jelylfin/jellyfin:latest

0 commit comments

Comments
 (0)