Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
87 lines (78 loc) · 2.64 KB
/
Copy pathdocker-compose.yml
File metadata and controls
87 lines (78 loc) · 2.64 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3.9"
services:
frontend:
build: ./web-app
ports: ["3000:3000"]
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8000
depends_on: [core]
core:
build: ./backend/core
ports: ["8000:8000"]
depends_on: [authenticity, author_dna, context, osint, llm, truth_stamp]
environment:
- AUTHENTICITY_SERVICE_URL=http://authenticity:8001
- AUTHOR_DNA_SERVICE_URL=http://author_dna:8006
- CONTEXT_SERVICE_URL=http://context:8002
- OSINT_SERVICE_URL=http://osint:8003
- LLM_SERVICE_URL=http://llm:8004
- TRUTH_STAMP_SERVICE_URL=http://truth_stamp:8006
- TRUTH_STAMP_API_KEY=${TRUTH_STAMP_API_KEY:-}
- TRUTH_STAMP_DRY_RUN=${TRUTH_STAMP_DRY_RUN:-true}
- PORT=8000
authenticity:
build: ./backend/services/content-authenticity-service
ports: ["8001:8001"]
env_file: .env
environment:
- LLM_SERVICE_URL=http://llm:8004
context:
build: ./backend/services/context-consistency-service
ports: ["8002:8002"]
env_file: .env
environment:
- LLM_SERVICE_URL=http://llm:8004
author_dna:
build: ./backend/services/authorship-analysis-service
ports: ["8006:8006"]
osint:
build: ./backend/services/source-intelligence-service
ports: ["8003:8003"]
env_file: .env
llm:
build: ./backend/services/ai-inference-service
ports: ["8004:8004"]
env_file: .env
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- WRANGLER_HOST=host.docker.internal
trust_shield:
build: ./backend/services/extension-verdict-service
ports: ["8005:8005"]
env_file: .env
environment:
- AUTHENTICITY_SERVICE_URL=http://authenticity:8001
- CONTEXT_SERVICE_URL=http://context:8002
- OSINT_SERVICE_URL=http://osint:8003
- LLM_SERVICE_URL=http://llm:8004
- TRUST_SHIELD_ALLOWED_ORIGINS=*
- TRUST_SHIELD_TIMEOUT_FAST_SECONDS=2.0
- TRUST_SHIELD_TIMEOUT_FULL_SECONDS=15
- TRUST_SHIELD_REPORT_TTL_SECONDS=1800
- TRUST_SHIELD_RATE_LIMIT_WINDOW_SECONDS=60
- TRUST_SHIELD_RATE_LIMIT_MAX_REQUESTS=120
- TRUST_SHIELD_MAX_TEXT_EXCERPT_LEN=512
- TRUST_SHIELD_MAX_THUMBNAIL_BYTES=500000
depends_on: [authenticity, context, osint, llm]
truth_stamp:
build: ./backend/services/provenance-stamp-service
ports: ["8007:8006"]
env_file: .env
environment:
- TRUTH_STAMP_CHAIN_NAME=polygon-amoy
- TRUTH_STAMP_CHAIN_ID=80002
- TRUTH_STAMP_RPC_URL=https://rpc-amoy.polygon.technology
- TRUTH_STAMP_EXPLORER_BASE_URL=https://amoy.polygonscan.com/tx/
- TRUTH_STAMP_DRY_RUN=true
- TRUTH_STAMP_ALLOWED_ORIGINS=*