updated docker-compose.yml and added json-rpc mode

This commit is contained in:
Bernhard B
2021-10-18 18:13:29 +02:00
parent 81f07fecb8
commit 7b6c788a4a

View File

@@ -2,11 +2,10 @@ version: "3"
services:
signal-cli-rest-api:
image: bbernhard/signal-cli-rest-api:latest
environment:
- USE_NATIVE=0
#- AUTO_RECEIVE_SCHEDULE=0 22 * * *
- PORT=8080
ports:
environment:
- MODE=normal #supported modes: json-rpc, native, normal
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
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