Initial signal-cal-bot skeleton: iCalendar feed to Signal group
- feed fetch with ETag/Last-Modified caching - iCalendar parsing/expansion with TEC series detection - posting-window scheduler with 3-day reminders and day-of fallback - image attachments from ATTACH, downscaled via Pillow - SQLite outbox with idempotent deliveries - watchdog alerts to Note to Self - Docker Compose with signal-cli-rest-api
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# signal-cli-rest-api, with the native JSON-RPC mode for low latency.
|
||||
services:
|
||||
signal-api:
|
||||
image: bbernhard/signal-cli-rest-api:latest
|
||||
container_name: calbot-signal
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MODE=json-rpc-native
|
||||
- SIGNAL_CLI_UID=1000
|
||||
- SIGNAL_CLI_GID=1000
|
||||
- LOG_LEVEL=info
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
# Linked-device keys live here. Back it up; losing it means re-linking.
|
||||
- ./signal-data:/home/.local/share/signal-cli
|
||||
|
||||
bot:
|
||||
build: .
|
||||
container_name: calbot
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- signal-api
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- CALBOT_CONFIG=/app/config.toml
|
||||
- LOG_LEVEL=info
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./config.toml:/app/config.toml:ro
|
||||
- ./data:/app/data
|
||||
- ./cache:/app/cache
|
||||
Reference in New Issue
Block a user