mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add plextraktsync
This commit is contained in:
@@ -29,6 +29,7 @@ include:
|
||||
- overseerr/compose.yaml
|
||||
- plausible/compose.yaml
|
||||
- plex/compose.yaml
|
||||
- plex-trakt-sync/compose.yaml
|
||||
- prowlarr/compose.yaml
|
||||
- realdebrid-account-monitor/compose.yaml
|
||||
- recyclarr/compose.yaml
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
x-plextraktsync:
|
||||
&plextraktsync
|
||||
image: ghcr.io/taxel/plextraktsync
|
||||
container_name: plextraktsync
|
||||
restart: on-failure:2
|
||||
volumes:
|
||||
- ${DOCKER_DATA_DIR}/plextraktsync/1:/app/config
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ:-Etc/UTC}
|
||||
profiles:
|
||||
- plextraktsync
|
||||
- all
|
||||
|
||||
x-plextraktsync_sync:
|
||||
&plextraktsync_sync
|
||||
<<: *plextraktsync
|
||||
command: sync
|
||||
|
||||
|
||||
x-plextraktsync_scrobble:
|
||||
&plextraktsync_scrobble
|
||||
<<: *plextraktsync
|
||||
command: watch
|
||||
|
||||
|
||||
|
||||
services:
|
||||
plextraktsync_scheduler:
|
||||
image: mcuadros/ofelia:0.3
|
||||
container_name: plextraktsync_scheduler
|
||||
restart: unless-stopped
|
||||
command: daemon --docker
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
labels:
|
||||
ofelia.job-run.plextraktsync-1.schedule: "@every 6h"
|
||||
ofelia.job-run.plextraktsync-1.container: "plextraktsync_1_sync"
|
||||
# ofelia.job-run.plextraktsync-2.schedule: "@every 6h"
|
||||
# ofelia.job-run.plextraktsync-2.container: "plextraktsync_2_sync"
|
||||
|
||||
plextraktsync_1_sync:
|
||||
<<: *plextraktsync_sync
|
||||
container_name: plextraktsync_1_sync
|
||||
|
||||
|
||||
plextraktsync_1_scrobble:
|
||||
<<: *plextraktsync_scrobble
|
||||
container_name: plextraktsync_1_scrobble
|
||||
|
||||
# plextraktsync_2_sync:
|
||||
# <<: *plextraktsync_sync
|
||||
# container_name: plextraktsync_2_sync
|
||||
# volumes:
|
||||
# - ${DOCKER_DATA_DIR}/plextraktsync/2:/app/config
|
||||
# profiles:
|
||||
# - plextraktsync_2
|
||||
# - all
|
||||
|
||||
# plextraktsync_2_scrobble:
|
||||
# <<: *plextraktsync_scrobble
|
||||
# container_name: plextraktsync_2_scrobble
|
||||
# volumes:
|
||||
# - ${DOCKER_DATA_DIR}/plextraktsync/2:/app/config
|
||||
# profiles:
|
||||
# - plextraktsync_2
|
||||
# - all
|
||||
|
||||
Reference in New Issue
Block a user