This is a Docker build of the Icecast Google Analytics java app by "iroks", and is intended to be used in conjunction with an Icecast server or as part of a packaged "all in one" solution (such as my Multi-container Libretime setup).
If you require assistance deploying this solution for a commercial station, please feel free to reach out to me - I can provide consultancy services.
Docker Hub: bushrangers/docker-icecast-google-analytics
The project consists of the main Java app, bundled in "Alpine Linux" to ensure that minimal resources are consumed on your host system.
If you're new to Docker you will need to do the following before starting:
First, clone down the repo.
git clone https://github.com/ned-kelly/docker-icecast-google-analytics.git
You will need to edit the config/config.xml
file to suit your environment or the container will fail to start. Once you have made the appropriate configuration changes you may continue to stand up the service.
It's pretty straightforward, just clone down the sources and stand up the container like so:
# Stand up the container using docker compose
docker-compose up -d
If you're having issues, it's worth checking the logs before doing anything - Just tail the docker container's logs like so:
docker logs -f icecast-analytics
Fig 1: GA Realtime Dashboard Example.