Files
signalbot/examples/docker-compose.yml
T
Vincent BourdonandClaude Opus 5.5 788dd0b968 fix: align with observed signal-cli-rest-api behaviour
Real-frame parsing test, README notes from live verification (manual mode
needs a build newer than 0.101, sync before listing groups, 30-day phone
rule, observed errors and long texts), compose image pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:33:10 +01:00

26 lines
915 B
YAML

# Minimal deployment: the Signal service and an app using signalbot.
services:
signal-api:
image: bbernhard/signal-cli-rest-api:1794354199-ci # needs a build newer than 0.101 for JSON_RPC_RECEIVE_MODE
environment:
- MODE=json-rpc-native # fallback: MODE=json-rpc if native mode is unstable
- JSON_RPC_RECEIVE_MODE=manual # keep messages queued while the app is down
volumes:
- signal-data:/home/.local/share/signal-cli # account keys: losing it means re-linking
restart: unless-stopped
# Only while linking (`signalbot link`), then remove: the API has no authentication.
# ports:
# - "127.0.0.1:8080:8080"
app:
build: .
environment:
- SIGNAL_API_URL=http://signal-api:8080
- SIGNAL_GROUP_ID=group.REPLACE_ME # from `signalbot groups`
depends_on:
- signal-api
restart: unless-stopped
volumes:
signal-data: