-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml.example
More file actions
71 lines (65 loc) · 2.76 KB
/
Copy pathdocker-compose.override.yml.example
File metadata and controls
71 lines (65 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# docker-compose.override.yml — example overlay for integrating HERALD into
# an existing stack without editing the main docker-compose.yml.
#
# To use this file:
# 1. cp docker-compose.override.yml.example docker-compose.override.yml
# 2. Edit the values below for your environment.
# 3. Docker Compose automatically merges override files on every invocation.
#
# This file is a loose collection of patterns — uncomment the blocks you need.
# The main docker-compose.yml assumes the bundled-db profile by default; this
# override demonstrates pointing HERALD at externally-managed services.
services:
# ── Disable the bundled database containers ─────────────────────────────
# (Better: set COMPOSE_PROFILES= (empty) in .env; this is the explicit
# equivalent when you can't change env.)
# postgres:
# profiles: ["disabled"]
# timescaledb:
# profiles: ["disabled"]
# redis:
# profiles: ["disabled"]
# ── Attach every HERALD service to an additional external network ───────
# Useful when HERALD's containers need to reach services on a separate
# network (a shared DB network, an ingress network, etc.).
# feed_poller:
# networks:
# shared-services: {}
# extractor:
# networks:
# shared-services: {}
# gdelt_ingestor:
# networks:
# shared-services: {}
# mcp_server:
# networks:
# shared-services: {}
# ── Expose MCP behind a reverse proxy (Traefik example) ──────────────────
# mcp_server:
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.herald-mcp.rule=Host(`herald.example.com`)"
# - "traefik.http.routers.herald-mcp.tls=true"
# - "traefik.http.services.herald-mcp.loadbalancer.server.port=8000"
# ── Mount a custom CA bundle so services can talk to TLS-protected ──
# ── external databases with a private CA ──
# extractor:
# volumes:
# - ./certs/internal-ca.crt:/etc/ssl/certs/internal-ca.crt:ro
# environment:
# SSL_CERT_FILE: /etc/ssl/certs/internal-ca.crt
# gdelt_ingestor:
# volumes:
# - ./certs/internal-ca.crt:/etc/ssl/certs/internal-ca.crt:ro
# environment:
# SSL_CERT_FILE: /etc/ssl/certs/internal-ca.crt
# ── Pin specific image tags for reproducible builds ─────────────────────
# rsshub:
# image: diygod/rsshub:1-ubuntu
# browserless:
# image: ghcr.io/browserless/chromium:v2.36.0
# ── Additional external networks referenced above ────────────────────────
# networks:
# shared-services:
# external: true
# name: shared-services