diff --git a/compose/apprise-api/.env.example b/compose/apprise-api/.env.example new file mode 100644 index 0000000..4dddd07 --- /dev/null +++ b/compose/apprise-api/.env.example @@ -0,0 +1,6 @@ +PUID="1000" +PGID="1000" +PORT="9803" +CONFIG_PATH="../../volumes/apprise-api/config" +PLUGIN_PATH="../../volumes/apprise-api/plugin" +ATTACH_PATH="../../volumes/apprise-api/attach" \ No newline at end of file diff --git a/compose/apprise-api/docker-compose.yml b/compose/apprise-api/docker-compose.yml new file mode 100644 index 0000000..fe2fb11 --- /dev/null +++ b/compose/apprise-api/docker-compose.yml @@ -0,0 +1,15 @@ +services: + apprise: + image: caronc/apprise:latest + container_name: apprise-api + ports: + - "${PORT:-9803}:8000" + user: "${PUID:-1000}:${PGID:-1000}" + environment: + APPRISE_STATEFUL_MODE: "simple" + APPRISE_WORKER_COUNT: "1" + APPRISE_ADMIN: "y" + volumes: + - "${CONFIG_PATH:?}:/config" + - "${PLUGIN_PATH:?}:/plugin" + - "${ATTACH_PATH:?}:/attach" \ No newline at end of file