Skip to content

Commit

Permalink
Documentation to explain simple configuration; refs #186
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Apr 27, 2024
1 parent 711ab2b commit 1c2e5ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
```
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ services:
apprise:
build: .
container_name: apprise
environment:
- APPRISE_STATEFUL_MODE=simple
ports:
- 8000:8000
user: "www-data:www-data"
Expand Down

0 comments on commit 1c2e5ff

Please sign in to comment.