diff --git a/README.md b/README.md new file mode 100644 index 0000000..f1b135a --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# pod-goatcounter + +## Deploy + +### Dokku + +``` +dokku apps:create goatcounter + +dokku config:set --no-restart goatcounter TZ=Europe/Rome +dokku config:set --no-restart goatcounter DATABASE_URL=sqlite3+/data/goatcounter.db +dokku config:set --no-restart goatcounter DOKKU_LETSENCRYPT_EMAIL=example@example.org + + +dokku storage:mount goatcounter /var/lib/dokku/data/storage/goatcounter:/data + +git push dokku main:main + +dokku letsencrypt:enable goatcounter +dokku letsencrypt:cron-job --add goatcounter +```