Files
sigcal/docker-compose.yml
T
kawaiipunk add77f6cb8 Rename to sigcal-bot
- package src/sigcal_bot, distribution and CLI sigcal-bot
- environment variables SIGCAL_BOT_*
- database file, container names, user agents, logs and QR device name
- docs and changelog updated
2026-11-18 17:06:40 +00:00

33 lines
869 B
YAML

# 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: sigcal-bot-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: sigcal-bot
restart: unless-stopped
depends_on:
- signal-api
user: "1000:1000"
environment:
- SIGCAL_BOT_CONFIG=/app/config.toml
- LOG_LEVEL=info
- TZ=Europe/London
volumes:
- ./config.toml:/app/config.toml:ro
- ./data:/app/data
- ./cache:/app/cache