docs: README, compose example, integration test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
15874f7ecb
commit
45f88378a6
4 files changed
+236
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# Minimal deployment: the Signal service and an app using signalbot.
|
||||
services:
|
||||
signal-api:
|
||||
image: bbernhard/signal-cli-rest-api:0.101
|
||||
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:
|
||||
Reference in new issue
Block a user