Skip to content

Commit

Permalink
Config updated: Working per server/library scheduling with ofelia (#2142
Browse files Browse the repository at this point in the history
)

* Updates multi server setup documentation to working scheduling.
* Updates image versions to be cohesive so that all of them have latest, and updated config volume path for multi server setup
* Updates documentation to use a fixed minor version of ofelia
  • Loading branch information
SebbeJohansson authored Jan 9, 2025
1 parent 32c036f commit e82b324
Showing 1 changed file with 4 additions and 9 deletions.
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

0 comments on commit e82b324

Please sign in to comment.