-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.host.yml
More file actions
91 lines (84 loc) · 2.32 KB
/
Copy pathdocker-compose.host.yml
File metadata and controls
91 lines (84 loc) · 2.32 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
88
89
90
# SPDX-FileCopyrightText: 2026 SAP SE and IPv6 Web Resource Checker contributors
#
# SPDX-License-Identifier: Apache-2.0
#
# This is an example file for docker-compose.
# make sure your docker network has IPv6 enabled.
# see https://docs.docker.com/engine/daemon/ipv6/
services:
webres6-api:
build:
context: .
dockerfile: api/Dockerfile
container_name: webres6-api
restart: unless-stopped
network_mode: host
environment:
- LISTEN_ADDR=[::1]
- SELENIUM_REMOTE_URL=http://localhost:4444/wd/hub
- ENABLE_WHOIS=true
- ENABLE_DNSPROBE=true
- ARCHIVE_DIR=/archive
- VALKEY_URL=valkey://localhost:6379/0
- WHOIS_CACHE_TTL=604800
- RESULT_CACHE_TTL=300
- RESULT_ARCHIVE_TTL=31536000
volumes:
- ./message.txt:/app/serverconfig/MESSAGE
- ./privacy.txt:/app/serverconfig/PRIVACY
- ./data/reports:/archive
- ./data/backup:/backup
depends_on:
- selenium
- valkey
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6400/healthz"]
interval: 60s
timeout: 5s
retries: 5
start_period: 20s
webres6-viewer:
build:
context: .
dockerfile: viewer/Dockerfile
container_name: webres6-viewer
environment:
- WEBRES6_API_URL=http://localhost:6400
- DNSPROBE_API_URL=http://localhost:6400
- WEBRES6_MCP_URL=http://localhost:6470
restart: unless-stopped
network_mode: host
volumes:
- ./data/reports:/usr/share/nginx/html/res6/report:ro
depends_on:
- webres6-api
webres6-mcp:
image: webres6-mcp:latest
pull_policy: build
build:
context: .
dockerfile: mcp/Dockerfile
container_name: webres6-mcp
ports:
- "6470:6470"
environment:
- WEBRES6_API_URL=http://localhost:6400/
- DNSPROBE_API_URL=http://localhost:6400/
restart: unless-stopped
network_mode: host
depends_on:
- webres6-api
selenium:
image: selenium/standalone-chromium:148.0.7778.178
environment:
- SE_HOST=localhost
restart: unless-stopped
network_mode: host
valkey:
image: valkey/valkey:latest
container_name: webres6-valkey
restart: unless-stopped
command: valkey-server --save 60 1 --loglevel warning --bind ::1
network_mode: host
volumes:
- ./data/valkey:/data