Add README
This commit is contained in:
parent
d76baf10ac
commit
95e50d02d8
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue