File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050
51511 . Get the latest ` docker-compose.yaml ` file:
5252
53- ```
53+ ``` yaml
5454services :
5555 wol-dockerized :
5656 image : ghcr.io/codeshelldev/wol-dockerized:latest
@@ -67,7 +67,7 @@ services:
6767
68682. Start the container:
6969
70- ```
70+ ` ` ` bash
7171docker compose up -d
7272```
7373
@@ -79,9 +79,9 @@ docker compose up -d
7979
8080To enable automatic stopping of containers after a period of inactivity, you must redirect requests to:
8181
82- '''
82+ ```
8383http://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
9696Start a container by specifying a ` query ` , for example: ` jellyfin.mydomain.com ` :
9797
98- ```
98+ ``` bash
9999curl -X POST -H " Content-Type: application/json" -d ' {"query": "jellyfin.mydomain.com"}' http://wol-dockerized:7777/wake
100100```
101101
102102Example ` docker-compose ` configuration for the container:
103103
104- ```
104+ ``` yaml
105105services :
106106 jellyfin :
107107 image : jelylfin/jellyfin:latest
You can’t perform that action at this time.
0 commit comments