mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-20 13:44:17 +00:00
Compare commits
No commits in common. "c1d889d6d324ecae29d532c59ea28b2911f15ef6" and "d4ce02e9a75f0f44779a7de40f684a40ade7d13f" have entirely different histories.
c1d889d6d3
...
d4ce02e9a7
@ -1,16 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
signal-cli-rest-api:
|
signal-cli-rest-api:
|
||||||
user: "1000:1000" # change to UID:GID you preferre
|
image: bbernhard/signal-cli-rest-api:latest
|
||||||
image: bbernhard/signal-cli-rest-api:rootless-latest
|
|
||||||
environment:
|
environment:
|
||||||
- MODE=normal #supported modes: json-rpc, native, normal
|
- MODE=normal #supported modes: json-rpc, native, normal
|
||||||
#- 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:
|
||||||
- "./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. Make sure that the user has permissions to read and write here.
|
- "./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
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true # additonal security control
|
|
||||||
tmpfs:
|
|
||||||
- /run:exec,size=64m,uid=1000,gid=1000,mode=0755 # Make sure this UID:GID fits those from above
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user