22 lines
496 B
Markdown
22 lines
496 B
Markdown
# 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
|
|
```
|