Files
aimsight-libredesk/poller/compose.yml
T

16 lines
843 B
YAML
Raw Normal View History

# The poller: the LibreDesk conversations copied into Supabase every 5 minutes (poller/poll.py). No port published.
# - poller/.env (outside git, never read by Claude): LIBREDESK_API_KEY, LIBREDESK_API_SECRET (the read key of LibreDesk),
# SUPABASE_CONVERSATIONS_URL, SUPABASE_CONVERSATIONS_KEY (the service_role key of the Conversations project), and
# LIBREDESK_URL if it is not the production (https://helpdesk.sensima.ch);
# docker compose -f poller/compose.yml up -d --build
# One run by hand (the first one, over the whole history, at a quiet hour):
# docker compose -f poller/compose.yml run --rm poller python -u -m poller.poll
services:
poller:
build:
context: ..
dockerfile: poller/Dockerfile
image: libredesk-poller:1
container_name: libredesk-poller
restart: unless-stopped
env_file: .env