24 lines
920 B
YAML
24 lines
920 B
YAML
services:
|
|
watchstate:
|
|
image: ghcr.io/arabcoders/watchstate:latest
|
|
container_name: watchstate
|
|
volumes:
|
|
# Config
|
|
- $APPDATA/watchstate:/config
|
|
# For information about supported environment variables visit FAQ page.
|
|
# works for both global and container specific environment variables.
|
|
environment:
|
|
- WS_TZ=CET # Set timezone.
|
|
#- WS_CRON_IMPORT=1
|
|
#- WS_CRON_EXPORT=1
|
|
# To change the user/group id associated with the tool change the following line.
|
|
user: "${PUID:-1000}:${PGID:-1000}"
|
|
ports:
|
|
- 9090:8080
|
|
restart: unless-stopped
|
|
|
|
# docker exec -ti watchstate console config:add home_plex
|
|
# docker exec -ti watchstate console config:add home_jellyfin
|
|
|
|
# docker exec -ti watchstate console state:import -v --select-backends 'home_plex,home_jellyfin'
|
|
# docker exec -ti watchstate console state:export -v --select-backends 'home_plex,home_jellyfin' |