Documentation to explain simple configuration; refs #186

This commit is contained in:
Chris Caron 2024-04-27 15:04:09 -04:00
parent 711ab2b630
commit 1c2e5ff1ea
2 changed files with 7 additions and 0 deletions

View File

@ -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
```

View File

@ -4,6 +4,8 @@ services:
apprise:
build: .
container_name: apprise
environment:
- APPRISE_STATEFUL_MODE=simple
ports:
- 8000:8000
user: "www-data:www-data"