-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
63 lines (56 loc) · 2.16 KB
/
Copy pathdocker-compose.test.yml
File metadata and controls
63 lines (56 loc) · 2.16 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
# Test override for validator client services
# Removes charon dependency and keeps container alive for testing
# Mounts test fixtures instead of .charon/validator_keys
# Uses dedicated test data directory to avoid conflicts
services:
# Mock charon service that starts quickly for tests
# (docker compose run starts dependencies by default)
charon:
image: busybox:latest
entrypoint: ["sh", "-c", "tail -f /dev/null"]
volumes: []
environment: []
ports: []
healthcheck:
disable: true
vc-lodestar:
depends_on: []
entrypoint: ["sh", "-c", "tail -f /dev/null"]
volumes:
- ./lodestar/run.sh:/opt/lodestar/run.sh
- ./scripts/edit/vc/test/fixtures/validator_keys:/home/charon/validator_keys
- ./scripts/edit/vc/test/data/lodestar:/opt/data
nimbus-beacon-bin:
depends_on: []
nimbus-beacon:
profiles: [nimbus-maint]
volumes:
- ./nimbus/import-keys.sh:/import-keys.sh:ro
- ./scripts/edit/vc/test/fixtures/validator_keys:/home/validator_keys:ro
- ./scripts/edit/vc/test/data/nimbus:/home/user/data
vc-nimbus:
depends_on:
nimbus-beacon-bin:
condition: service_completed_successfully
entrypoint: ["sh", "-c", "tail -f /dev/null"]
volumes:
- ./nimbus/run.sh:/home/user/run.sh:ro
- ./nimbus/import-keys.sh:/import-keys.sh:ro
- ./scripts/edit/vc/test/fixtures/validator_keys:/home/validator_keys:ro
- ./scripts/edit/vc/test/data/nimbus:/home/user/data
- nimbus_beacon_node_bin:/home/user/bin:ro
vc-prysm:
depends_on: []
entrypoint: ["sh", "-c", "tail -f /dev/null"]
volumes:
# Mount run.sh from INSIDE the test data directory to avoid conflicts
- ./scripts/edit/vc/test/data/prysm/run.sh:/home/prysm/run.sh
- ./scripts/edit/vc/test/fixtures/validator_keys:/home/charon/validator_keys
- ./scripts/edit/vc/test/data/prysm:/data/vc
vc-teku:
depends_on: []
entrypoint: ["sh", "-c", "tail -f /dev/null"]
volumes:
# Mount test fixtures validator keys and test data directory
- ./scripts/edit/vc/test/fixtures/validator_keys:/opt/charon/validator_keys
- ./scripts/edit/vc/test/data/teku:/home/data