-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.patch
More file actions
47 lines (41 loc) · 1.81 KB
/
Copy pathconfig.patch
File metadata and controls
47 lines (41 loc) · 1.81 KB
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
47
diff -ura package.orig/gotify-server.env.example package.new/gotify-server.env.example
--- package.orig/gotify-server.env.example 2026-07-17 11:08:04.259693847 +0200
+++ package.new/gotify-server.env.example 2026-07-17 11:08:23.837874158 +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.