summaryrefslogtreecommitdiff
path: root/net/gotify-server/files/patch-config.example.yml
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2024-10-13 08:58:22 +0300
committerMatthias Fechner <mfechner@FreeBSD.org>2024-10-13 09:04:06 +0300
commitd2f0651277eaaf7ec0b22f1f79226f5e43cdedba (patch)
treeeccdfd3d9d9d001b9dce8cdd80709d0b596d1d81 /net/gotify-server/files/patch-config.example.yml
parenttextproc/rubygem-gitlab-glfm-markdown: update to 0.0.21 (diff)
net/gotify-server: create new port version 2.5.0 of gotify-server
A simple selfhosted message service with nice UI and a client for Android. Thanks a lot for help I received here: https://github.com/gotify/server/issues/199
Diffstat (limited to 'net/gotify-server/files/patch-config.example.yml')
-rw-r--r--net/gotify-server/files/patch-config.example.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/gotify-server/files/patch-config.example.yml b/net/gotify-server/files/patch-config.example.yml
new file mode 100644
index 000000000000..ccfd46addd3d
--- /dev/null
+++ b/net/gotify-server/files/patch-config.example.yml
@@ -0,0 +1,36 @@
+--- config.example.yml.orig 1979-11-29 22:00:00 UTC
++++ config.example.yml
+@@ -4,7 +4,7 @@ server:
+ server:
+ keepaliveperiodseconds: 0 # 0 = use Go default (15s); -1 = disable keepalive; set the interval in which keepalive packets will be sent. Only change this value if you know what you are doing.
+ listenaddr: "" # the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".
+- port: 80 # the port the HTTP server will listen on
++ port: 9071 # the port the HTTP server will listen on
+
+ ssl:
+ enabled: false # if https should be enabled
+@@ -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/db/gotify/certs # the directory of the cache from letsencrypt
+ hosts: # the hosts for which letsencrypt should request certificates
+ # - mydomain.tld
+ # - myotherdomain.tld
+@@ -46,12 +46,12 @@ database: # for database see (configure database secti
+
+ database: # for database see (configure database section)
+ dialect: sqlite3
+- connection: data/gotify.db
++ connection: /var/db/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/db/gotify/data/images # the directory for storing uploaded images
++pluginsdir: /var/db/gotify/data/plugins # the directory where plugin resides
+ registration: false # enable registrations