docker-compose/README.md
Here are two docker-compose configurations for goaccess which combine a static site with a real-time report of goaccess. The directories used are:
configs - for the nginx and goaccess configurationpublic - the files served by nginx - put your static site herelogs - nginx logs - there is no log rotation in place!There are two flavors of the docker-compose files and the goaccess files:
*.vanilla.* which need you to take care of the TLS certificates*.traefik.* using traefik for TLS and domain routingFor the vanilla version, you'll have to do the following:
configs/certs, following the naming scheme
in goaccess.vanilla.conf8080The traefik version is setup to make it easier to do the routing. You don't need to take care of the TLS certificates, and the goaccess websocket gets its own subdomain.
To put it all together, the following environment is needed:
yourdomain for the static pages, e.g., a blog-post using Hugogoaccess.yourdomain for the stats with goaccess