blob: 662b996e2971127d57202445802b61d3cf87177e (
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
|
diff -ura package.orig/config.example.yml package.new/config.example.yml
--- package.orig/config.example.yml 2020-03-08 14:59:02.828681120 +0100
+++ package.new/config.example.yml 2020-03-12 02:30:06.273495477 +0100
@@ -3,7 +3,7 @@
server:
listenaddr: "" # the address to bind on, leave empty to bind on all addresses
- 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
@@ -15,7 +15,7 @@
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
hosts: # the hosts for which letsencrypt should request certificates
# - mydomain.tld
# - myotherdomain.tld
@@ -31,11 +31,11 @@
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
|