mirror of
https://github.com/docwho76/sendmsg.git
synced 2026-08-31 01:41:10 -07:00
bump minor version for doc updates only
This commit is contained in:
parent
83d70b6b23
commit
7b43087a0b
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
All notable changes to `sendmsg` are documented here.
|
All notable changes to `sendmsg` are documented here.
|
||||||
|
|
||||||
|
## 5.1.1
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- **Updated README.md:** Exposes docker compose sample config for signal-rest-api setup along with notes on Traefik and Pullio usage and integration
|
||||||
|
|
||||||
## 5.1.0
|
## 5.1.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
38
README.md
38
README.md
@ -96,7 +96,43 @@ It supports individual direct messages, Signal group broadcasts, file attachment
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. **Place the script:**
|
1. **Get signal-cli-rest running in docker compose:**
|
||||||
|
Put the following config into your docker-compose.yml file (this assumes you are using [traefik](https://github.com/traefik/traefik) to reverse proxy your docker compose services and [pullio](https://hotio.dev/scripts/pullio/) to automate updates)
|
||||||
|
|
||||||
|
```
|
||||||
|
services:
|
||||||
|
signal-api:
|
||||||
|
image: bbernhard/signal-cli-rest-api:latest
|
||||||
|
restart: always
|
||||||
|
expose:
|
||||||
|
- "8080"
|
||||||
|
labels:
|
||||||
|
- "traefik.http.routers.$NAME.rule=Host(`$SIGNAL_INTERNAL_URL`)"
|
||||||
|
- "traefik.http.routers.$NAME.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.$NAME.tls.certresolver=route53"
|
||||||
|
- "org.hotio.pullio.notify=true"
|
||||||
|
- "org.hotio.pullio.update=true"
|
||||||
|
- "org.hotio.pullio.generic.webhook=$WEBHOOK_URL"
|
||||||
|
- "org.hotio.pullio.author.avatar=$GRAVATAR_URL"
|
||||||
|
volumes:
|
||||||
|
- $PATH_TO_DOCKER_STORAGE_DIR:/home/.local/share/signal-cli
|
||||||
|
environment:
|
||||||
|
- MODE=native
|
||||||
|
- AUTO_RECEIVE_SCHEDULE=0 22 * * *
|
||||||
|
- PUID=$USER_ID
|
||||||
|
- PGID=$GROUP_ID
|
||||||
|
- TZ=$TIMEZONE_NAME
|
||||||
|
```
|
||||||
|
$SIGNAL_INTERNAL_URL - The internal URL traefik will server the container from https://example.internal.mydomain.com
|
||||||
|
$WEBHOOK_URL - The URL to your IFTTT webhook for Pullio, i.e https://maker.ifttt.com/trigger/Pullio/with/key/test-key
|
||||||
|
$GRAVATAR_URL - The URL for your [Gravatar](https://gravatar.com/) icon i.e https://s.gravatar.com/avatar/1234567890
|
||||||
|
$NAME - The name you give to this service in traefik
|
||||||
|
$PATH_TO_DOCKER_STORAGE_DIR - The directory on your docker compose host where the signal containers filesystem lives i.e /opt/docker-data/signal
|
||||||
|
$TIMEZONE_NAME - i.e "America/Los_Angeles"
|
||||||
|
|
||||||
|
Note: See https://builder.aws.com/content/2tmBo5uCgpwQegRBsdSDmupj5rH/lets-encrypt-dns01-challenge-with-traefik-and-aws-route-53 for examples of using AWS Route53 with traefik to do Lets Encrypt ACME DNS-01 requests for automatic SSL certificate creation with Traefik. Installation of traefik is outside the scope of this document.
|
||||||
|
|
||||||
|
2. **Place the script:**
|
||||||
|
|
||||||
```
|
```
|
||||||
cp sendmsg /usr/local/bin/sendmsg
|
cp sendmsg /usr/local/bin/sendmsg
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user