-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (75 loc) · 2.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
80 lines (75 loc) · 2.12 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
#
# docker compose up
#
# docker exec -it wavs bash
# wavs-cli deploy-service --component /wavs/components/evm_trigger_echo.wasm
# wavs-cli add-task --input "echo value" --service-id <SERVICE_ID>
#
services:
anvil:
image: "ghcr.io/foundry-rs/foundry:stable"
platform: linux/amd64
container_name: "anvil"
network_mode: "host"
ports:
- "8545:8545"
environment:
ANVIL_IP_ADDR: 0.0.0.0
command: ["anvil", "--no-cors"]
# The main instance all WAVS interaction will happen from
wavs:
build: .
image: "ghcr.io/lay3rlabs/wavs:local"
container_name: "wavs"
stop_signal: SIGKILL
depends_on: ["anvil"]
network_mode: "host"
env_file: "./.env"
ports:
- "8000:8000"
environment:
WAVS_HOME: "/wavs/packages/wavs"
WAVS_CLI_HOME: "/wavs/packages/cli"
command: ["wavs"]
volumes:
- "./:/wavs"
- "./.docker/cli:/root/wavs/cli/"
deploy-eigenlayer:
image: "ghcr.io/lay3rlabs/wavs:local"
container_name: "wavs-deploy-eigenlayer"
depends_on: ["wavs", "anvil"]
restart: "no"
env_file: "./.env"
command: ["wavs-cli", "deploy-eigen-core"]
volumes:
- "./packages/cli:/wavs"
- "./.docker/cli:/root/wavs/cli/"
network_mode: "host"
# Default all-memory Jaeger
jaeger:
image: jaegertracing/jaeger:2.5.0
environment:
- COLLECTOR_OTLP_ENABLED=true
ports:
- "4317:4317" # OTLP gRPC
- "16686:16686" # Jaeger UI
# Prometheus is used to display metrics
prometheus:
image: prom/prometheus:v3.3.0
ports:
- "9090:9090" # Prometheus UI and OTLP receiver
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- ./config/alerts.yml:/etc/prometheus/alerts.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--web.enable-otlp-receiver"
# Alertmanager handles alerts from Prometheus
alertmanager:
image: prom/alertmanager:v0.27.0
ports:
- "9093:9093"
volumes:
- ./config/alertmanager.yml:/etc/alertmanager/alertmanager.yml
command:
- "--config.file=/etc/alertmanager/alertmanager.yml"