Compare commits
No commits in common. "5d2d4ff560cef3a632a29207ff5c6fc8c0eae928" and "8e080c2ead83e2981a8f73135d4f959bdbe55d27" have entirely different histories.
5d2d4ff560
...
8e080c2ead
@ -1,14 +1,9 @@
|
|||||||
# Basis-Image (kann je nach Python-Version angepasst werden)
|
# Basis-Image (kann je nach Python-Version angepasst werden)
|
||||||
FROM python:3.13-alpine
|
FROM python:3.13-slim
|
||||||
|
|
||||||
# Arbeitsverzeichnis erstellen
|
# Arbeitsverzeichnis erstellen
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk update && apk add \
|
|
||||||
python3-dev \
|
|
||||||
gcc \
|
|
||||||
libc-dev
|
|
||||||
|
|
||||||
# Requirements in den Container kopieren
|
# Requirements in den Container kopieren
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
|
|
||||||
|
@ -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:8081/ -i
|
python list_signal_groups.py --api-url http://localhost:8080/ -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:
|
||||||
|
@ -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:
|
||||||
- "8081:8080" #map docker port 8080 to host port 8081.
|
- "8080:8080" #map docker port 8080 to host port 8080.
|
||||||
volumes:
|
volumes:
|
||||||
- "./signal-cli-config:/home/.local/share/signal-cli"
|
- "./signal-cli-config:/home/.local/share/signal-cli"
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user