Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard B committed Oct 20, 2021
2 parents 405b7f0 + a309baf commit 2991941
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,18 @@ Notes:

Sample `docker-compose.yml`file:

```sh
```yaml
version: "3"
services:
signal-cli-rest-api:
image: bbernhard/signal-cli-rest-api:latest
environment:
- MODE=normal #supported modes: json-rpc, native, normal
environment:
- MODE=normal #supported modes: json-rpc, native, normal
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
ports:
ports:
- "8080:8080" #map docker port 8080 to host port 8080.
volumes:
- "./signal-cli-config:/home/.local/share/signal-cli" #map "signal-cli-config" folder on host system into docker container. the folder contains the password and cryptographic keys when a new number is registered

```
## Documentation
Expand Down
2 changes: 2 additions & 0 deletions doc/OCTOPRINT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ version: "3"
services:
signal-cli-rest-api:
image: bbernhard/signal-cli-rest-api:latest
environment:
- MODE=json-rpc #supported modes: json-rpc, native, normal
ports:
- "8080:8080" # map docker port 8080 to host port 8080.
volumes:
Expand Down

0 comments on commit 2991941

Please sign in to comment.