mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-15 08:58:05 +00:00
26 lines
619 B
YAML
26 lines
619 B
YAML
# network_mode: host makes 127.0.0.1 reach PostgreSQL on the host.
|
|
#
|
|
# cp config/config.toml.example config/config.toml
|
|
# docker compose up --build
|
|
# LIBS=source docker compose build
|
|
|
|
services:
|
|
support-bot:
|
|
image: simplex-support-bot:latest
|
|
build:
|
|
context: ../..
|
|
dockerfile: scripts/support-bot/Dockerfile
|
|
args:
|
|
LIBS: ${LIBS:-release}
|
|
network_mode: host
|
|
restart: on-failure:5
|
|
environment:
|
|
GROK_API_KEY: ${GROK_API_KEY:-}
|
|
volumes:
|
|
- support-bot-data:/data
|
|
- ./config:/etc/support-bot:ro
|
|
stop_grace_period: 30s
|
|
|
|
volumes:
|
|
support-bot-data:
|