1
0
Fork 0

Add README

This commit is contained in:
Daniele Tricoli 2022-08-26 02:03:21 +02:00
parent d76baf10ac
commit 95e50d02d8
1 changed files with 21 additions and 0 deletions

21
README.md Normal file
View File

@ -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
```