docs: update readme with compose
All checks were successful
build / build (push) Successful in 1m34s

This commit is contained in:
Viktor Varland 2025-04-14 21:38:38 +02:00
parent b238c19236
commit efc49fa4a2
Signed by: varl
GPG key ID: 7459F0B410115EE8

View file

@ -217,12 +217,34 @@ WantedBy=timers.target
``` ```
podman run --rm \ podman run --rm \
--volume=path/to/config:/data/config.toml \
--volume=path/to/opml:/data/opml.xml \ --volume=path/to/opml:/data/opml.xml \
--volume=path/to/vids:/data/vids \ --volume=path/to/vids:/data/vids \
registry.meatbag.se/varl/subsyt registry.meatbag.se/varl/subsyt
``` ```
## compose
Runs in scheduled mode (0400 hours daily), with automatic POT generation
and the bgutil-ytdlp-pot-provider server.
```
services:
subsyt:
image: registry.meatbag.se/varl/subsyt:latest
container_name: subsyt
user: 1000:1000
volumes:
- /opt/subsyt/youtube_subs.opml:/data/opml.xml
- /media/videos/youtube:/data/vids
bgutil:
image: brainicism/bgutil-ytdlp-pot-provider
container_name: bgutil
restart: unless-stopped
ports:
- 4416:4416
```
## result ## result
``` ```