Skip to content

Commit 2991941

Browse files
author
Bernhard B
committed
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2 parents 405b7f0 + a309baf commit 2991941

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,18 @@ Notes:
5353

5454
Sample `docker-compose.yml`file:
5555

56-
```sh
56+
```yaml
5757
version: "3"
5858
services:
5959
signal-cli-rest-api:
6060
image: bbernhard/signal-cli-rest-api:latest
61-
environment:
62-
- MODE=normal #supported modes: json-rpc, native, normal
61+
environment:
62+
- MODE=normal #supported modes: json-rpc, native, normal
6363
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
64-
ports:
64+
ports:
6565
- "8080:8080" #map docker port 8080 to host port 8080.
6666
volumes:
6767
- "./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
68-
6968
```
7069
7170
## Documentation

doc/OCTOPRINT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ version: "3"
1616
services:
1717
signal-cli-rest-api:
1818
image: bbernhard/signal-cli-rest-api:latest
19+
environment:
20+
- MODE=json-rpc #supported modes: json-rpc, native, normal
1921
ports:
2022
- "8080:8080" # map docker port 8080 to host port 8080.
2123
volumes:

0 commit comments

Comments
 (0)