- Reduce docker-compose from 6 services to 1 (worker only) - Connect via supavisor pooled port (6543) on dedicated Supabase - Add willhaben_tracker schema with search_path in asyncpg pool init - Create consolidated migration SQL for Supabase SQL Editor - Update .env.example with new connection pattern
13 lines
416 B
YAML
13 lines
416 B
YAML
services:
|
|
worker:
|
|
build: ./worker
|
|
restart: unless-stopped
|
|
environment:
|
|
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN}
|
|
POSTGRES_HOST: ${POSTGRES_HOST:-192.168.178.3}
|
|
POSTGRES_PORT: "6543"
|
|
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
|
DEFAULT_INTERVAL_MINUTES: ${DEFAULT_INTERVAL_MINUTES:-60}
|