Telegram bridge lets me drive the local Claude Code tmux session from my phone — inbound messages are typed into the 'claude' session, pane diffs are streamed back as plain Telegram messages (TUI noise, tool-call blocks, echoed user input and already-sent lines are filtered so only the assistant's actual reply reaches the chat). Deployed as food-market-telegram-bridge.service, reads creds from /etc/food-market/telegram.env (not committed). Also committing the local docker-registry unit for reproducibility — registry:2 on 127.0.0.1:5001, data persisted in /opt/food-market-data/docker-registry. Setup docs in docs/telegram-bridge.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
537 B
Desktop File
20 lines
537 B
Desktop File
[Unit]
|
|
Description=Local Docker Registry for food-market
|
|
Requires=docker.service
|
|
After=docker.service network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStartPre=-/usr/bin/docker rm -f food-market-registry
|
|
ExecStart=/usr/bin/docker run --rm --name food-market-registry \
|
|
-p 127.0.0.1:5001:5000 \
|
|
-v /opt/food-market-data/docker-registry:/var/lib/registry \
|
|
-e REGISTRY_STORAGE_DELETE_ENABLED=true \
|
|
registry:2
|
|
ExecStop=/usr/bin/docker stop food-market-registry
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|