Update Notification_Containers/signal-api/compose.yaml
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
signal-cli-rest-api:
|
signal-cli-rest-api:
|
||||||
image: bbernhard/signal-cli-rest-api:latest
|
image: bbernhard/signal-cli-rest-api:latest
|
||||||
|
container_name: signal-api
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MODE=normal #supported modes: json-rpc, native, normal
|
- MODE=native
|
||||||
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
|
#- 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.
|
- "8080:8080" #map docker port 8080 to host port 8080.
|
||||||
volumes:
|
volumes:
|
||||||
- "/srv/docker/signal/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
|
- "/srv/docker/signal/signal-cli-config:/home/.local/share/signal-cli"
|
||||||
Reference in New Issue
Block a user