lab-signal-bot/docker-compose.yml
2024-12-29 02:46:35 +01:00

20 lines
640 B
YAML

services:
signal-cli-rest-api:
image: bbernhard/signal-cli-rest-api:latest-dev
environment:
- MODE=json-rpc #supported modes: json-rpc, native, normal
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
ports:
- "8081:8080" #map docker port 8080 to host port 8081.
volumes:
- "./signal-cli-config:/home/.local/share/signal-cli"
restart: always
lab-bot:
build: .
volumes:
- "./config.json:/app/config.json"
- "./data:/app/data"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
restart: always