41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
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:
|