fixing docker-compose.yml
This commit is contained in:
@@ -1,15 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/opt/app/data/db
|
- ./data/db:/opt/app/data/db
|
||||||
|
depends_on:
|
||||||
|
- apprise
|
||||||
apprise:
|
apprise:
|
||||||
image: caronc/apprise:latest
|
image: caronc/apprise:latest
|
||||||
|
hostname: apprise
|
||||||
environment:
|
environment:
|
||||||
- APPRISE_WORKER_COUNT=1
|
- APPRISE_WORKER_COUNT=1
|
||||||
- APPRISE_STATEFUL_MODE=simple
|
- APPRISE_STATEFUL_MODE=simple
|
||||||
- PUID=$(id -u)
|
# - PUID=$(id -u)
|
||||||
- PGID=$(id -g)
|
# - PGID=$(id -g)
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/apprise/config:/config
|
- ./data/apprise/config:/config
|
||||||
- ./data/apprise/plugin:/plugin
|
- ./data/apprise/plugin:/plugin
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ async function main( ) {
|
|||||||
})( ev );
|
})( ev );
|
||||||
const title = `${today_prefix ? "TODAY " : ""}${notification_prefix ? notification_prefix + ": " : ""} ${ev.title} (${ TEventType[ ev.event_type ] })`;
|
const title = `${today_prefix ? "TODAY " : ""}${notification_prefix ? notification_prefix + ": " : ""} ${ev.title} (${ TEventType[ ev.event_type ] })`;
|
||||||
|
|
||||||
await fetch("http://localhost:8000/notify", {
|
await fetch("http://apprise:8000/notify", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
|
|||||||
Reference in New Issue
Block a user