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
5454{{{ # ://docker-compose.yaml }}}
5555```
5656
57572 . Start the container:
5858
59- ```
59+ ``` bash
6060docker compose up -d
6161```
6262
@@ -68,9 +68,9 @@ docker compose up -d
6868
6969To enable automatic stopping of containers after a period of inactivity, you must redirect requests to:
7070
71- '''
71+ ```
7272http://wol-dockerized:7777/activity
73- '''
73+ ```
7474
7575> [ !NOTE]
7676> This is currently not straightforward. You cannot just redirect to ` /activity ` . You need to use a _ forward auth_ middleware.
@@ -84,13 +84,13 @@ See [Traefik Forward Auth Middleware](https://doc.traefik.io/traefik/middlewares
8484
8585Start a container by specifying a ` query ` , for example: ` jellyfin.mydomain.com ` :
8686
87- ```
87+ ``` bash
8888curl -X POST -H " Content-Type: application/json" -d ' {"query": "jellyfin.mydomain.com"}' http://wol-dockerized:7777/wake
8989```
9090
9191Example ` docker-compose ` configuration for the container:
9292
93- ```
93+ ``` yaml
9494{{{ # ://examples/jellyfin.docker-compose.yaml }}}
9595```
9696
You can’t perform that action at this time.
0 commit comments