Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config updated: Working per server/library scheduling with ofelia #2142

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ A docker compose example with a 6h interval:
version: "2"
services:
scheduler:
image: mcuadros/ofelia:latest
image: mcuadros/ofelia:0.3
container_name: scheduler
depends_on:
- plextraktsync
Expand Down Expand Up @@ -455,16 +455,15 @@ services:
image: ghcr.io/taxel/plextraktsync
command: sync
container_name: plextraktsync
profiles: ["schedule"]
volumes:
- /configs/mediarr/plextraktsync:/app/config
- ./config:/app/config
environment:
- PUID=1000
- PGID=1000
depends_on:
- plex
scheduler:
image: mcuadros/ofelia:latest
image: mcuadros/ofelia:0.3
container_name: scheduler
command: daemon --docker
restart: unless-stopped
Expand All @@ -489,11 +488,7 @@ hours. If you have two different PlexTraktSync containers in your docker
compose, you can run them at the same time.

The above config means that a job is running every 6 hours, alternating between
the two "servers". The PlexTraktSync container also has a [docker compose
profile] called "schedule" which means that it won't run automatically when you
run for example `docker compose up`.

[docker compose profile]: https://docs.docker.com/compose/profiles/
the two "servers".

### Logging

Expand Down
Loading