17 lines
843 B
YAML
17 lines
843 B
YAML
# 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
|