-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Figured it out. docker run -d --name signal-api --restart=always -p 8080:8080 -v C:\Users\username.local\share\signal-cli:/home/.local/share/signal-cli -e 'MODE=native' bbernhard/signal-cli-rest-api Check its created the container in Docker dashboard. Restarting Docker, and restarting computer ironed out some issue I encountered. Test by running following in powershell. $URI = "http://localhost:8080/v2/send" Invoke-WebRequest -Method POST -Uri $URI -Body ($Body | ConvertTo-Json) -UseBasicParsing Now I need to know how to use it securely from outside network. Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Figured it out.
Create a Docker account on Docker website.
Install Docker Desktop app from the Docker site.
Sign in.
Run the following in admin cmd prompt
docker run -d --name signal-api --restart=always -p 8080:8080 -v C:\Users\username.local\share\signal-cli:/home/.local/share/signal-cli -e 'MODE=native' bbernhard/signal-cli-rest-api
Check its created the container in Docker dashboard.
Restarting Docker, and restarting computer ironed out some issue I encountered.
Test by running following in powershell.
$URI = "http://localhost:8080/v2/send"
$Body = @{
"base64_attachments" = @()
"message" = "This is a success!"
"number" = "+registered Signal CLI number"
"recipients" = @("+Recipient num…