In order to host Elk yourself you can use the provided Dockerfile to build a container with elk. Be aware, that Elk only loads properly if the connection is done via SSL/TLS. The Docker container itself does not provide any SSL/TLS handling. You'll have to add this bit yourself. One could put Elk behind popular reverse proxies with SSL Handling like Traefik, NGINX etc.
An alternative to Phanpy, which also works with GoToSocial instances. At least this looks more robust than Phanpy. Gotta deploy one soon.
Edit: Wasn't able to deploy successfully. Sad.