docker-compose: map signal-cli-rest-api to port 8081

8080 is already used.
This commit is contained in:
lemoer 2024-12-29 01:39:17 +01:00
parent 8e080c2ead
commit 625358ba55
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ docker restart lab-signal-bot-signal-cli-rest-api-1
From host, list signal groups: 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: Now, you can set the identifier of the group you want in the config.json:

View File

@ -5,7 +5,7 @@ services:
- MODE=json-rpc #supported modes: json-rpc, native, normal - MODE=json-rpc #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. - "8081:8080" #map docker port 8080 to host port 8081.
volumes: volumes:
- "./signal-cli-config:/home/.local/share/signal-cli" - "./signal-cli-config:/home/.local/share/signal-cli"
restart: always restart: always