forked from bonsol-collective/bonsol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
24 lines (23 loc) · 864 Bytes
/
docker-compose.yaml
File metadata and controls
24 lines (23 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
node:
build:
context: .
dockerfile: Dockerfile
command: -f NodeDocker.toml
volumes:
- ${PWD}/node/NodeDocker.toml:/usr/opt/bonsol/NodeDocker.toml
- ${PWD}/node_keypair.json:/usr/opt/bonsol/keys/signer.json
- ${PWD}/images:/usr/opt/bonsol/risc0_images/
ports:
- 9000:9000
restart: always
depends_on:
- solana
solana:
image: anzaxyz/agave:v2.0.13
entrypoint: ["solana-test-validator", "--limit-ledger-size", "100000", "--bind-address", "0.0.0.0", "--rpc-pubsub-enable-block-subscription", "--bpf-program", "BoNsHRcyLLNdtnoDf8hiCNZpyehMC4FDMxs6NTxFi3ew", "/programs/bonsol.so", "--bpf-program", "exay1T7QqsJPNcwzMiWubR6vZnqrgM16jZRraHgqBGG", "/programs/callback_example.so"]
volumes:
- ${PWD}/target/deploy:/programs
ports:
- 8899:8899
- 8900:8900