--- gotify-server.env.example.orig 2026-08-11 11:36:41 UTC +++ gotify-server.env.example @@ -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/db/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/db/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/db/gotify/data/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/db/gotify/data/plugins # Allow unauthenticated users to register new user accounts via the public # registration endpoint.