Skip to content

Commit 342b487

Browse files
committed
syntax highlighting
1 parent 98b3589 commit 342b487

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/templates/README.template.md

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

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

53-
```
53+
```yaml
5454
{{{ #://docker-compose.yaml }}}
5555
```
5656

5757
2. Start the container:
5858

59-
```
59+
```bash
6060
docker compose up -d
6161
```
6262

@@ -68,9 +68,9 @@ docker compose up -d
6868

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

71-
'''
71+
```
7272
http://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

8585
Start a container by specifying a `query`, for example: `jellyfin.mydomain.com`:
8686

87-
```
87+
```bash
8888
curl -X POST -H "Content-Type: application/json" -d '{"query": "jellyfin.mydomain.com"}' http://wol-dockerized:7777/wake
8989
```
9090

9191
Example `docker-compose` configuration for the container:
9292

93-
```
93+
```yaml
9494
{{{ #://examples/jellyfin.docker-compose.yaml }}}
9595
```
9696

0 commit comments

Comments
 (0)