# Docker-Tautulli-PlexAniSync A combination of [Tautulli](https://github.com/Tautulli/Tautulli) and PlexAniSync. ## Usage ### Docker Command ``` docker run -d \ --name=tautulli-plexanisync \ -e TZ= \ -e PLEX_SECTION=Anime \ -e PLEX_URL=http://127.0.0.1:32400 \ -e PLEX_TOKEN= \ -e ANI_USERNAME= \ -e ANI_TOKEN= \ -p 8181:8181 \ -v :/config \ -v :/plexanisync/custom_mappings.yaml \ --restart unless-stopped \ ghcr.io/rickdb/tautulli-plexanisync ``` ### Docker Compose ```yaml version: '3.7' services: plexanisync: container_name: tautulli-plexanisync image: 'ghcr.io/rickdb/tautulli-plexanisync:latest' restart: unless-stopped environment: - TZ= - PLEX_SECTION=Anime - 'PLEX_URL=http://127.0.0.1:32400' - PLEX_TOKEN=SomePlexToken - ANI_USERNAME=SomeUser - ANI_TOKEN=SomeToken volumes: - '/path/to/tautulli-data-directory:/config' - '/path/to/your/custom_mappings.yaml:/plexanisync/custom_mappings.yaml' ports: - '8181:8181' ``` ### Environment Variables Since this is a combination of docker images, environment variables of both images have to be configured. See: - [Tautulli](https://github.com/Tautulli/Tautulli-Wiki/wiki/Installation#docker) - [PlexAniSync](https://github.com/RickDB/PlexAniSync/Docker/PlexAniSync/README.md#environment-variables) ### Configure Tautulli to use PlexAniSync After starting the container, Tautulli will be available on the configured port. The default port is 8181. If you have never configured Tautulli, a setup guide will ask you to set up the connection to the Plex server. Once the guide is done, follow the instructions [here](https://github.com/RickDB/PlexAniSync/wiki/Tautulli-sync-script) to set up the PlexAniSync notification agent. Use `/plexanisync` as script folder. Do NOT rename TautulliSyncHelper.py to .pyw, otherwise Tautulli won't be able to start it.