aports/testing/gotify/10-config.patch
2026-03-03 00:38:44 +00:00

30 lines
1.5 KiB
Diff

diff --git a/config.example.yml b/config.example.yml
index 393e9ea..6e5a75b 100644
--- a/config.example.yml
+++ b/config.example.yml
@@ -16,7 +16,7 @@ server:
letsencrypt:
enabled: false # if the certificate should be requested from letsencrypt
accepttos: false # if you accept the tos from letsencrypt
- cache: data/certs # the directory of the cache from letsencrypt
+ cache: /var/lib/gotify/certs # the directory of the cache from letsencrypt
directoryurl: # override the directory url of the ACME server
# Let's Encrypt highly recommend testing against their staging environment before using their production environment.
# Staging server has high rate limits for testing and debugging, issued certificates are not valid
@@ -50,12 +50,12 @@ server:
database: # for database see (configure database section)
dialect: sqlite3
- connection: data/gotify.db
+ connection: /var/lib/gotify/gotify.db
defaultuser: # on database creation, gotify creates an admin user
name: admin # the username of the default user
pass: admin # the password of the default user
passstrength: 10 # the bcrypt password strength (higher = better but also slower)
-uploadedimagesdir: data/images # the directory for storing uploaded images
-pluginsdir: data/plugins # the directory where plugin resides
+uploadedimagesdir: /var/lib/gotify/images # the directory for storing uploaded images
+pluginsdir: /var/lib/gotify/plugins # the directory where plugin resides
registration: false # enable registrations