From d3f6bb2de0f9e5ee5f0dce2e57d3c782387fe17e Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Mon, 2 Jan 2023 12:36:45 +0000 Subject: [PATCH] readme database section --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fd83c9..4b56ae0 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,11 @@ docker run \ -v $PWD/:/config \ ghcr.io/broodjeaap/go-watch:latest ``` +### Database -This will start GoWatch with a SQLite database, stored in the `/config` directory, which is probably fine for most use cases. +By default, GoWatch will use an SQLite database, stored in the `/config` directory for the docker image, which is probably fine for most use cases. -To use another database, the `database.dsn` value in the config or `GOWATCH_DATABASE_DSN` environment variable can be used, for example with a PostgreSQL database: +But you can use another database by chaning the `database.dsn` value in the config or `GOWATCH_DATABASE_DSN` environment variable, for example with a PostgreSQL database: ``` version: "3"