Compare commits
2 Commits
8e080c2ead
...
5d2d4ff560
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5d2d4ff560 | ||
![]() |
625358ba55 |
@ -1,9 +1,14 @@
|
||||
# Basis-Image (kann je nach Python-Version angepasst werden)
|
||||
FROM python:3.13-slim
|
||||
FROM python:3.13-alpine
|
||||
|
||||
# Arbeitsverzeichnis erstellen
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk update && apk add \
|
||||
python3-dev \
|
||||
gcc \
|
||||
libc-dev
|
||||
|
||||
# Requirements in den Container kopieren
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
|
@ -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…
x
Reference in New Issue
Block a user