mirror of
https://github.com/caronc/apprise-api.git
synced 2024-12-13 10:21:14 +01:00
23 lines
803 B
YAML
23 lines
803 B
YAML
version: '3'
|
|
|
|
services:
|
|
apprise:
|
|
build: .
|
|
container_name: apprise
|
|
ports:
|
|
- 8000:8000
|
|
user: "www-data:www-data"
|
|
volumes:
|
|
- ./apprise_api:/opt/apprise/webapp:ro
|
|
# if uncommenting the below, you will need to type the following
|
|
# Note: if you opt for bind mount config file consider setting env var APPRISE_STATEFUL_MODE to simple with appropriate file format
|
|
# otherwise the django instance won't have permissions to write
|
|
# to the directory correctly:
|
|
# $> chown -R 33:33 ./config
|
|
# $> chmod -R 775 ./config
|
|
# - ./config:/config:rw
|
|
# Note: The attachment directory can be exposed outside of the container if required
|
|
# $> chown -R 33:33 ./attach
|
|
# $> chmod -R 775 ./attach
|
|
# - ./attach:/attach:rw
|