From 1c2e5ff1ea1de64c8739285c88d9d5badab54501 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 27 Apr 2024 15:04:09 -0400 Subject: [PATCH] Documentation to explain simple configuration; refs #186 --- README.md | 5 +++++ docker-compose.yml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 1fd2138..31d1777 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,15 @@ docker pull caronc/apprise:latest # a full production environment setting). This may be all that is needed for # a light-weight self hosted solution. # +# setting APPRISE_STATEFUL_MODE to simple allows you to map your defined {key} +# straight to a file found in the `/config` path. In simple home configurations +# this is sometimes the ideal expectation. docker run --name apprise \ -p 8000:8000 \ -v /var/lib/apprise/config:/config \ -v /var/lib/apprise/plugin:/plugin \ -v /var/lib/apprise/attach:/attach \ + -e APPRISE_STATEFUL_MODE=simple \ -e APPRISE_WORKER_COUNT=1 \ -d caronc/apprise:latest ``` @@ -71,6 +75,7 @@ docker build -t apprise/local:latest -f Dockerfile . # Launch your instance docker run --name apprise \ -p 8000:8000 \ + -e APPRISE_STATEFUL_MODE=simple \ -e APPRISE_WORKER_COUNT=1 \ -d apprise/local:latest ``` diff --git a/docker-compose.yml b/docker-compose.yml index 153d183..c7d3876 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,8 @@ services: apprise: build: . container_name: apprise + environment: + - APPRISE_STATEFUL_MODE=simple ports: - 8000:8000 user: "www-data:www-data"