feat(notify): add FinlyticNotify push notification microservice and test suite

This commit is contained in:
2026-09-01 17:38:01 +02:00
parent 6a0f9af3f8
commit c5d7d359ba
17 changed files with 1677 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: finlytic-ntfy
command:
- serve
environment:
- NTFY_BASE_URL=http://localhost:8080
- NTFY_BEHIND_PROXY=false
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
- NTFY_AUTH_DEFAULT_ACCESS=read-write
volumes:
- ntfy_cache:/var/cache/ntfy
ports:
- "8080:80"
restart: unless-stopped
finlytic-notify:
build:
context: .
dockerfile: FinlyticNotify/Dockerfile
container_name: finlytic-notify
environment:
- ConnectionStrings__DefaultConnection=Host=postgres;Port=5432;Database=finlytic;Username=postgres;Password=postgres
- Mqtt__BrokerHost=mosquitto
- Mqtt__BrokerPort=1883
- Ntfy__BaseUrl=http://ntfy:80
- Ntfy__TopicPrefix=finlytic
- Ntfy__BroadcastChannel=broadcast
- Ntfy__DefaultUsername=admin
- Ntfy__MinProposalScore=70.0
- Ntfy__NotifyOnProposals=true
- Ntfy__NotifyOnTradeUpdates=true
- Ntfy__NotifyOnBotTrades=true
depends_on:
- ntfy
restart: unless-stopped
volumes:
ntfy_cache: