{"id":23512773,"url":"https://github.com/baethon/docker-goatcounter","last_synced_at":"2025-08-28T07:30:45.077Z","repository":{"id":49968014,"uuid":"244739746","full_name":"baethon/docker-goatcounter","owner":"baethon","description":"Unofficial docker image for goatcounter","archived":true,"fork":false,"pushed_at":"2025-06-10T11:18:27.000Z","size":11,"stargazers_count":8,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T12:27:59.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baethon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-03T20:54:33.000Z","updated_at":"2025-06-10T11:23:34.000Z","dependencies_parsed_at":"2022-09-03T06:52:49.652Z","dependency_job_id":null,"html_url":"https://github.com/baethon/docker-goatcounter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baethon/docker-goatcounter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baethon%2Fdocker-goatcounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baethon%2Fdocker-goatcounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baethon%2Fdocker-goatcounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baethon%2Fdocker-goatcounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baethon","download_url":"https://codeload.github.com/baethon/docker-goatcounter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baethon%2Fdocker-goatcounter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272463557,"owners_count":24939138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-25T13:19:25.162Z","updated_at":"2025-08-28T07:30:45.071Z","avatar_url":"https://github.com/baethon.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baethon/goatcounter\n\nUnofficial Docker image for [goatcounter](https://github.com/zgoat/goatcounter) - simple web statistics\n\n\u003e [!IMPORTANT]\n\u003e This repository is no longer maintained.\n\u003e \n\u003e Please use the [official GoatCounter Docker image](https://hub.docker.com/r/arp242/goatcounter) instead.\n\n## How to use this image\n\n```bash\ndocker run --name goatcounter \\\n  -e GOATCOUNTER_DOMAIN=stats.domain.com \\\n  -e GOATCOUNTER_EMAIL=admin@domain.com \\\n  baethon/goatcounter\n```\n\nThis command will start a single instance with pre-configured `stats.domain.com` site.\n\n`GOATCOUNTER_DOMAIN` and `GOATCOUNTER_EMAIL` are mandatory.\n\n## Environment Variables\n\n### `GOATCOUNTER_DOMAIN`\n\nThis mandatory environment variable is used to create the initial site.\n\n### `GOATCOUNTER_EMAIL`\n\nThis mandatory environment variable defines the e-mail address of the admin user.  \n\nIt's used to create the initial site and is passed as an `-auth` option to the `serve` command.\n\n### `GOATCOUNTER_PASSWORD`\n\n_Available since v1.4_.\n\nThis mandatory environment variable defines the password of the admin user.\n\n### `GOATCOUNTER_SMTP`\n\nThis optional environment variable defines the SMTP server (e.g., `smtp://user:pass@server.com:587`) which will be used by the server. \n\n_Default:_ `stdout` - print email contents to stdout\n\n### `GOATCOUNTER_DB`\n\nThis optional environment variable defines the location of the database. By default, the server will use SQLite database which is recommended solution. \n\nIt's possible to use the Postgres DB however, the image was not tested against it.  \n\nDon't change this value unless you know what you're doing.\n\n_Default:_ `sqlite:///goatcounter/db/goatconter.sqlite3`\n\n## Troubleshooting\n\n### The server displays migration info\n\nDuring startup, the container will try to execute all available migrations. What you see, is the output of `goatcounter migrate` command.\n\n### line X: GOATCOUNTER_*: unbound variable\n\nYou forgot to set one of the mandatory env variables.\n\n### zdb.TX fn: cname: already exists.\n\nThe entrypoint script tries to create the initial site on every container startup. Once it's created, the `goatcounter create` command will report this error. It's safe to ignore it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaethon%2Fdocker-goatcounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaethon%2Fdocker-goatcounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaethon%2Fdocker-goatcounter/lists"}