From 896a96a2b5804140985738e62fa4a026d3ba5146 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 22 Dec 2023 17:05:18 +0200 Subject: [PATCH] Make linkding_database_engine default to postgres when Postgres enabled We do the same in other roles integrated into this playbook, so it's only natural. --- docs/services/linkding.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/services/linkding.md b/docs/services/linkding.md index 9309c45..3c7f842 100644 --- a/docs/services/linkding.md +++ b/docs/services/linkding.md @@ -6,8 +6,8 @@ This service requires the following other services: -- a [Postgres](postgres.md) database, but [SQLite](https://www.sqlite.org/) is also a possibility (see `linkding_database_engine` below) -- a [Traefik](traefik.md) reverse-proxy server +- a [Postgres](postgres.md) database, but will fallback to [SQLite](https://www.sqlite.org/) if unavailable +- a [Traefik](traefik.md) reverse-proxy server ## Configuration @@ -25,13 +25,9 @@ linkding_enabled: true linkding_hostname: mash.example.com linkding_path_prefix: /linkding -# We configure Linkding to use Postgres by default. See docs/services/postgres.md. -# To use an external Postgres server, you need to tweak additional `linkding_database_*` variables. -# Feel free to remove the line below to make Linkding use SQLite. -linkding_database_engine: postgres +linkding_superuser_username: '' +linkding_superuser_password: '' -linkding_superuser_username: change me -linkding_superuser_password: change me ######################################################################## # # # /linkding #