{"id":18908873,"url":"https://github.com/riesinger/goatcounter-docker","last_synced_at":"2026-04-16T15:34:22.241Z","repository":{"id":138969565,"uuid":"389095796","full_name":"riesinger/goatcounter-docker","owner":"riesinger","description":"An unofficial docker image for Goatcounter","archived":false,"fork":false,"pushed_at":"2021-07-25T16:47:15.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T01:37:25.594Z","etag":null,"topics":["analytics","docker","docker-image","goatcounter"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riesinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"riesinger"}},"created_at":"2021-07-24T12:38:13.000Z","updated_at":"2024-12-06T08:31:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"86333f1f-eecb-4a61-a390-bce5c71058e5","html_url":"https://github.com/riesinger/goatcounter-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/riesinger/goatcounter-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riesinger%2Fgoatcounter-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riesinger%2Fgoatcounter-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riesinger%2Fgoatcounter-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riesinger%2Fgoatcounter-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riesinger","download_url":"https://codeload.github.com/riesinger/goatcounter-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riesinger%2Fgoatcounter-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31892552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","docker","docker-image","goatcounter"],"created_at":"2024-11-08T09:29:15.421Z","updated_at":"2026-04-16T15:34:22.214Z","avatar_url":"https://github.com/riesinger.png","language":"Dockerfile","readme":"# Goatcounter in Docker\n\nThis is an unofficial Docker image for [Goatcounter](https://goatcounter.com), heavily based on\n[baethon/docker-goatcounter](https://github.com/baethon/docker-goatcounter), but adapted to use\nGoatcounter v2.\n\n## How to use this image\n\n```sh\ndocker run --name goatcounter \\\n  -p 8080:8080 \\\n  -v $(pwd)/db:/goatcounter/db \\\n  -e GOATCOUNTER_DOMAIN=stats.domain.com \\\n  -e GOATCOUNTER_EMAIL=admin@domain.com \\\n  -e GOATCOUNTER_PASSWORD=pa55w0rd \\\n  ghcr.io/riesinger/goatcounter-docker:2\n```\n\n## Environment variables\n\n### `GOATCOUNTER_DOMAIN` · _Mandatory_\n\nThis variable is used to create the initial site. Set this to the domain you want to run Goatcounter\non.\n\n### `GOATCOUNTER_EMAIL` · _Mandatory_\n\nDefines the email address of the admin user. Used to sign in.\n\n### `GOATCOUNTER_PASSWORD` · _Mandatory_\n\nThe password to use for the admin account. It is recommended to not pass this on the CLI but to read\nit from a file, for example using `docker-compose`.\n\n### `GOATCOUNTER_SMTP` · _Optional_\n\nSets the SMTP server to be used by the server to send emails.\n\nExample: `smtp://user:pass@server.com:587`\nDefault: stdout - print email contents to stdout\n\n### `GOATCOUNTER_DB` · _Optional_\n\nThe database to use. By default, the server will use an SQLite database which is the easiest\nsolution.\nNote that this image isn't tested for usage with PostgreSQL, but it _should_ work fine.\n\nFor persistence when using SQLite, make sure to mount a volume into `/goatcounter/db`, for example\nwith `docker run -v $(pwd)/db:/goatcounter/db ...`\n\nDefault: `sqlite:///goatcounter/db/goatconter.sqlite3`\n\n","funding_links":["https://github.com/sponsors/riesinger"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friesinger%2Fgoatcounter-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friesinger%2Fgoatcounter-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friesinger%2Fgoatcounter-docker/lists"}