From 68004aafa5fdf9c1c153943ef06a727064ba7740 Mon Sep 17 00:00:00 2001 From: Till JS Date: Fri, 27 Mar 2026 22:23:37 +0100 Subject: [PATCH] feat(infra): add mana-crawler Go service to docker-compose Port 3023, PostgreSQL + Redis, concurrency 5. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.macmini.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index 71ce1878a..3e8f9c5c9 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -369,6 +369,36 @@ services: retries: 3 start_period: 5s + mana-crawler: + build: + context: . + dockerfile: services/mana-crawler-go/Dockerfile + image: mana-crawler-go:local + container_name: mana-crawler + restart: always + depends_on: + postgres: + condition: service_healthy + redis: + condition: service_healthy + environment: + TZ: Europe/Berlin + PORT: 3023 + DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/mana?sslmode=disable + REDIS_HOST: redis + REDIS_PORT: 6379 + REDIS_PASSWORD: ${REDIS_PASSWORD:-redis123} + CRAWLER_USER_AGENT: "ManaCoreCrawler/1.0 (+https://mana.how/bot)" + QUEUE_CONCURRENCY: 5 + ports: + - "3023:3023" + healthcheck: + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3023/health"] + interval: 60s + timeout: 5s + retries: 3 + start_period: 5s + mana-media: build: context: .