From a8a3acff8404288fd309f81ba1c4c4648a97a417 Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Thu, 9 Apr 2026 14:26:17 -0400 Subject: [PATCH] goat counter --- docker/goatcounter/.env.keys | 2 ++ docker/goatcounter/.gitignore | 1 + docker/goatcounter/compose.yaml | 9 ++++----- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 docker/goatcounter/.env.keys diff --git a/docker/goatcounter/.env.keys b/docker/goatcounter/.env.keys new file mode 100644 index 0000000..ba3bef8 --- /dev/null +++ b/docker/goatcounter/.env.keys @@ -0,0 +1,2 @@ +# hantim-goatcounter-password +GOATCOUNTER_PASSWORD= diff --git a/docker/goatcounter/.gitignore b/docker/goatcounter/.gitignore index 7cf9f0b..a12d65a 100644 --- a/docker/goatcounter/.gitignore +++ b/docker/goatcounter/.gitignore @@ -1,2 +1,3 @@ # !create db/ +.env diff --git a/docker/goatcounter/compose.yaml b/docker/goatcounter/compose.yaml index 9a5ec9e..6d1a526 100644 --- a/docker/goatcounter/compose.yaml +++ b/docker/goatcounter/compose.yaml @@ -3,11 +3,10 @@ services: image: baethon/goatcounter restart: unless-stopped container_name: goatcounter - command: >- - goatcounter serve - -listen :8080 - -tls none - -db sqlite3+/goatcounter/db/goatcounter.sqlite3 + env_file: .env + environment: + GOATCOUNTER_DOMAIN: goatcounter.hantim.net + GOATCOUNTER_EMAIL: timothykim@fastmail.fm volumes: - ./db:/goatcounter/db networks: