-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose-local-validator.yml
More file actions
79 lines (67 loc) · 2.31 KB
/
Copy pathdocker-compose-local-validator.yml
File metadata and controls
79 lines (67 loc) · 2.31 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
services:
validator:
image: docker.io/sanctumso/solana-test-validator:3.1.1
security_opt:
# insecure, needed for io_uring, else validator will fail with no stdout
- seccomp:unconfined
command: [
"solana-test-validator",
"-r", # Reset
"-q", # Quiet
# Load test fixtures accounts
"--account-dir",
"/test-fixtures",
# test fixtures programs
"--upgradeable-program",
"f1tUoNEKrDp1oeGn4zxr7bh41eN6VcfHjfrL3ZqQday",
"/test-fixtures/programs/flat-fee-pp.so",
"none",
"--upgradeable-program",
"wsoGmxQLSvwWpuaidCApxN5kEowLe2HLQLJhCQnj4bE",
"/test-fixtures/programs/wsol-calc.so",
"none",
"--upgradeable-program",
"SPMBzsVUuoHA4Jm6KunbsotaahvVikZs1JyTW6iJvbn",
"/test-fixtures/programs/stake-pools/sanctum-spl-multi.so",
"none",
"--upgradeable-program",
"ssmbu3KZxgonUtjEMCKspZzxvUQCxAFnyh1rcHUeEDo",
"/test-fixtures/programs/sanctum-spl-multi-calc.so",
"none",
"--upgradeable-program",
"MarBmsSgKXdrN1egZf5sqe1TMai9K1rChYNDJgjq7aD",
"/test-fixtures/programs/stake-pools/marinade.so",
"none",
"--upgradeable-program",
"mare3SCyfZkAndpBRBeonETmkCCB3TJTTrz8ZN2dnhP",
"/test-fixtures/programs/marinade-calc.so",
"none",
"--upgradeable-program",
"CrX7kMhLC3cSsXJdT7JDgqrRVWGnUpX3gfEfxxU2NVLi",
"/test-fixtures/programs/stake-pools/lido.so",
"none",
"--upgradeable-program",
"1idUSy4MGGKyKhvjSnGZ6Zc7Q4eKQcibym4BkEEw9KR",
"/test-fixtures/programs/lido-calc.so",
"none",
# built programs
"--upgradeable-program",
"5ocnV1qiCgaQR8Jb8xWnVbApfaygJ8tNoZfgPwsgx9kx",
"/target/deploy/inf1_ctl_program.so",
"none",
"--upgradeable-program",
"s1b6NRXj6ygNu1QMKXh2H9LUR2aPApAAm1UQ2DjdhNV",
"/target/deploy/inf1_pp_flatslab_program.so",
"none",
]
volumes:
- ./test-fixtures:/test-fixtures
- ./target/deploy:/target/deploy
healthcheck:
test: ["CMD", "solana", "cluster-version", "-u", "http://localhost:8899"]
interval: 5s
timeout: 5s
retries: 20
ports:
- "8899:8899" # http rpc
- "8900:8900" # websocket rpc