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: