Integrating Gotify with Jellyfin Docker can enhance your media experience by enabling real-time notifications on your devices. However, setting this up can sometimes be challenging. This article aims to guide you through the necessary steps to configure Gotify with Jellyfin successfully when both applications are running in Docker containers.
Prerequisites
- Docker installed on your machine.
- Functional instances of Gotify and Jellyfin running in Docker.
Step-by-Step Configuration
Step 1: Setting up Gotify
First, ensure your Gotify server is up and running. You can pull the latest image from Docker Hub and run it using the following command:
docker run -d --name gotify -p 80:80 gotify/server
Step 2: Configuring Jellyfin
Once Gotify is ready, configure Jellyfin to send notifications to your Gotify instance. For this, you need to install the Webhook plugin in Jellyfin:
- Navigate to Jellyfin's dashboard.
- Go to Plugins, then Repositories, and add the plugin repository if not already added.
- Install the 'Webhooks' plugin found under 'Catalog'.
- Restart Jellyfin for the plugin to take effect.
Step 3: Creating a Webhook in Jellyfin
After installing the Webhook plugin, proceed to create a new webhook:
- Go back to the dashboard and navigate to Admin -> Advanced -> Webhooks.
- Click 'Add' to create a new webhook.
- Enter the endpoint URL of your Gotify server, which typically looks like
http://gotify.example.com/message?token=YourAppToken
. - Configure the triggers for notifications according to your preference (e.g., when media playback starts or stops).
Step 4: Testing Notifications
After everything is set up, test the notification system to ensure it's working properly. Trigger an event in Jellyfin that you have set to notify Gotify. You should receive a notification through Gotify's interface.
Troubleshooting Common Issues
Network Problems
Ensure both Docker containers can communicate. On some networks, Docker's default bridge network restricts inter-container communication.
Incorrect URL or Token
Verify that the URL and tokens in the webhook configuration are correct. An incorrect token or URL will prevent Jellyfin from sending notifications to Gotify.
By following these steps, your integration of Gotify with Jellyfin Docker should work seamlessly, enhancing your media server experience with timely notifications.
Add new comment