docker-compose: map signal-cli-rest-api to port 8081
8080 is already used.
This commit is contained in:
parent
8e080c2ead
commit
625358ba55
@ -48,7 +48,7 @@ docker restart lab-signal-bot-signal-cli-rest-api-1
|
||||
|
||||
From host, list signal groups:
|
||||
```
|
||||
python list_signal_groups.py --api-url http://localhost:8080/ -i
|
||||
python list_signal_groups.py --api-url http://localhost:8081/ -i
|
||||
```
|
||||
|
||||
Now, you can set the identifier of the group you want in the config.json:
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
- MODE=json-rpc #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.
|
||||
- "8081:8080" #map docker port 8080 to host port 8081.
|
||||
volumes:
|
||||
- "./signal-cli-config:/home/.local/share/signal-cli"
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user