Add dokku deploy instructions
This commit is contained in:
parent
533e230feb
commit
e8d7ce1b39
|
@ -0,0 +1,20 @@
|
||||||
|
# pod-nextcloud
|
||||||
|
|
||||||
|
## Deploy
|
||||||
|
|
||||||
|
### Dokku
|
||||||
|
|
||||||
|
```
|
||||||
|
dokku apps:create nextcloud
|
||||||
|
|
||||||
|
dokku config:set --no-restart nextcloud TZ=Europe/Rome
|
||||||
|
dokku config:set --no-restart nextcloud DOKKU_LETSENCRYPT_EMAIL=example@example.org
|
||||||
|
|
||||||
|
mkdir /var/lib/dokku/data/storage/nextcloud
|
||||||
|
dokku storage:mount nextcloud /var/lib/dokku/data/storage/nextcloud:/var/www/html
|
||||||
|
|
||||||
|
git push dokku main:main
|
||||||
|
|
||||||
|
dokku letsencrypt:enable nextcloud
|
||||||
|
dokku letsencrypt:cron-job --add nextcloud
|
||||||
|
```
|
Loading…
Reference in New Issue