1
0
Fork 0

Use /go for the database

This way no need to fix permissions of directory where the database it
stored.
This commit is contained in:
Daniele Tricoli 2021-08-20 23:04:46 +02:00
parent 209fa23392
commit 023089e0e2
1 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,7 @@ dokku config:set writefreely --no-restart TZ=Europe/Rome
dokku config:set writefreely --no-restart DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku storage:mount writefreely /var/lib/dokku/data/storage/writefreely/config.ini:/go/config.ini
dokku storage:mount writefreely /var/lib/dokku/data/storage/writefreely/writefreely.db:/storage/writefreely.db
dokku storage:mount writefreely /var/lib/dokku/data/storage/writefreely/writefreely.db:/go/writefreely.db
git push dokku main:main
@ -25,9 +25,6 @@ dokku proxy:ports-remove writefreely http:8080:8080
dokku letsencrypt:enable writefreely
```
**NOTE:** You need to fix permission on the `/storage` directory inside the
container.
### Podman
1. Generate the configuration and sqlite db