14 lines
No EOL
579 B
Markdown
14 lines
No EOL
579 B
Markdown
# docker-goatcounter
|
|
|
|
This is a very simple Docker wrapper around [Goatcounter](https://github.com/arp242/goatcounter), for ease of deployment.
|
|
|
|
It must be configured exactly as normal through the command line (there are no environment variables). By default, the working directory within the container is `/run/goatcounter`.
|
|
|
|
A good example of how to use this image would be:
|
|
|
|
```
|
|
docker run \
|
|
-p 127.0.0.1:8080:8080 \
|
|
-v $(pwd):/run/goatcounter \
|
|
registry.git.tdpain.net/pkg/docker-goatcounter:latest serve -listen :8080 -db 'sqlite+goatcounter.sqlite3.db' -tls proxy
|
|
``` |