Skip to content

Commit e1e74dc

Browse files
committed
update docker compose
1 parent 2c8b7e2 commit e1e74dc

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

.env.sample

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
SENTRY_DSN=https://key@sentry.io/4181340
1+
# Alice
2+
VEDRAN_LB_PK=0xe5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a
3+
VEDRAN_LB_REWARD_POOL=100.00

docker-compose.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,31 @@ version: '3'
22
services:
33

44
polkadot:
5-
image: parity/polkadot:v0.8.24
5+
image: parity/polkadot:v0.8.26
66
volumes:
77
- "polkadot-data:/data"
8-
command: --rpc-external --prometheus-external --log error --rpc-cors=all
8+
command: |
9+
--dev --rpc-external --rpc-methods Unsafe --ws-external --prometheus-external --log error --rpc-cors=all
910
1011
vedran:
11-
command: start --auth-secret=test-secret --log-level debug --public-ip vedran --server-port 4000
12-
image: nodefactory/vedran:v0.2.0
12+
command: start --auth-secret=test-secret --log-level debug --public-ip vedran --server-port 4000 --private-key ${VEDRAN_LB_PK:-0xe5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a} --payout-interval 1 --payout-reward ${VEDRAN_LB_REWARD_POOL:-10}
13+
image: nodefactory/vedran:v0.3.0
1314
ports:
1415
- "4000:4000"
1516
container_name: "vedran"
1617

1718
vedran-daemon:
18-
image: nodefactory/vedran-daemon:v0.2.0
19+
image: nodefactory/vedran-daemon:v0.3.0
1920
depends_on:
2021
- vedran
2122
- polkadot
22-
command: --id test-id --lb http://vedran:4000 --node-rpc http://polkadot:9933 --node-metrics http://polkadot:9615 --payout-address 0xtestaddress --log-level info
23+
command: --id test-id --lb http://vedran:4000 --node-rpc http://polkadot:9933 --node-ws http://polkadot:9944 --node-metrics http://polkadot:9615 --payout-address 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --log-level info
2324

2425
client:
26+
container_name: "vedran_user_curl"
2527
image: curlimages/curl:latest
26-
command: |-
27-
sh -c "while sleep 15; do curl -H Content-Type: application/json -d '{\"id\":1, \"jsonrpc\":\"2.0\", \"method\": \"chain_getBlock\"}' http://vedran:4000; done"
28+
command: |
29+
sh -c "while sleep 15; do curl --silent -H Content-Type: application/json -d '{\"id\":1, \"jsonrpc\":\"2.0\", \"method\": \"chain_getBlock\"}' http://vedran:4000; done"
2830
2931
3032

0 commit comments

Comments
 (0)