1
0
Fork 0

Add dokku deploy instructions

This commit is contained in:
Daniele Tricoli 2021-12-23 20:15:13 +01:00
parent 533e230feb
commit e8d7ce1b39
1 changed files with 20 additions and 0 deletions

20
README.md Normal file
View File

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