summarylogtreecommitdiffstats
path: root/config.patch
blob: 2e2dd1bbb67b4bac98ce07eaf5ebab02323a2d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- old.env	2026-07-18 12:00:00.000000000 +0200
+++ new.env	2026-07-18 12:00:00.000000000 +0200
@@ -50,7 +50,7 @@

 # Port the HTTP server listens on.
 # Type: number
-# GOTIFY_SERVER_PORT=80
+GOTIFY_SERVER_PORT=9071

 # Enable the HTTPS listener. Requires either CERTFILE+CERTKEY or LETSENCRYPT_ENABLED=true.
 # Type: boolean
@@ -97,7 +97,7 @@
 #
 # Type: text
 # Example: /var/lib/gotify/certs
-# GOTIFY_SERVER_SSL_LETSENCRYPT_CACHE=data/certs
+GOTIFY_SERVER_SSL_LETSENCRYPT_CACHE=/var/lib/gotify/certs

 # Override the ACME directory URL. Leave empty to use the Let's Encrypt
 # production server. The staging server has higher rate limits useful for
@@ -237,7 +237,7 @@
 #   mysql: gotify:secret@tcp(localhost:3306)/gotifydb?charset=utf8&parseTime=True&loc=Local
 #   postgres: host=localhost port=5432 user=gotify dbname=gotifydb password=secret
 # When using postgres without SSL, append `sslmode=disable` (see https://github.com/gotify/server/issues/90).
-# GOTIFY_DATABASE_CONNECTION=data/gotify.db
+GOTIFY_DATABASE_CONNECTION=/var/lib/gotify/gotify.db

 # Username for the initial admin account. Only applied when the database is
 # first created; later changes must be made through the WebUI.
@@ -262,14 +262,14 @@
 #
 # Type: text
 # Example: /var/lib/gotify/images
-# GOTIFY_UPLOADEDIMAGESDIR=data/images
+GOTIFY_UPLOADEDIMAGESDIR=/var/lib/gotify/images

 # Directory scanned for plugin shared libraries on startup. Leave empty to
 # disable plugin loading.
 #
 # Type: text
 # Example: /var/lib/gotify/plugins
-# GOTIFY_PLUGINSDIR=data/plugins
+GOTIFY_PLUGINSDIR=/var/lib/gotify/plugins

 # Allow unauthenticated users to register new user accounts via the public
 # registration endpoint.