forked from chainwayxyz/citrea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (64 loc) · 2.11 KB
/
docker-compose.yml
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
services:
citrea-bitcoin-testnet4:
image: bitcoin/bitcoin:28.0rc1
container_name: bitcoin-testnet4
ports:
- "18443:18443"
- "18444:18444"
command:
-printtoconsole
-testnet4=1
-rest
-rpcbind=0.0.0.0
-rpcallowip=0.0.0.0/0
-rpcport=18443
-rpcuser=citrea
-rpcpassword=citrea
-server
-txindex=1
volumes:
- bitcoin-testnet4:/home/bitcoin/.bitcoin
networks:
- citrea-testnet-network
citrea-full-node:
depends_on:
- citrea-bitcoin-testnet4
image: chainwayxyz/citrea-full-node:testnet
platform: linux/amd64
container_name: full-node
environment:
- ROLLUP__PUBLIC_KEYS__SEQUENCER_PUBLIC_KEY=4682a70af1d3fae53a5a26b682e2e75f7a1de21ad5fc8d61794ca889880d39d1
- ROLLUP__PUBLIC_KEYS__SEQUENCER_DA_PUB_KEY=03015a7c4d2cc1c771198686e2ebef6fe7004f4136d61f6225b061d1bb9b821b9b
- ROLLUP__PUBLIC_KEYS__PROVER_DA_PUB_KEY=0357d255ab93638a2d880787ebaadfefdfc9bb51a26b4a37e5d588e04e54c60a42
- ROLLUP__DA__NODE_URL=http://citrea-bitcoin-testnet4:18443/
- ROLLUP__DA__NODE_USERNAME=citrea
- ROLLUP__DA__NODE_PASSWORD=citrea
- ROLLUP__DA__NETWORK=testnet
- ROLLUP__DA__TX_BACKUP_DIR=
- ROLLUP__STORAGE__PATH=/mnt/task/citrea-db
- ROLLUP__STORAGE__DB_MAX_OPEN_FILES=5000
- ROLLUP__RPC__BIND_HOST=0.0.0.0
- ROLLUP__RPC__BIND_PORT=8080
- ROLLUP__RPC__MAX_CONNECTIONS=100
- ROLLUP__RPC__MAX_REQUEST_BODY_SIZE=10485760
- ROLLUP__RPC__MAX_RESPONSE_BODY_SIZE=10485760
- ROLLUP__RPC__BATCH_REQUESTS_LIMIT=50
- ROLLUP__RPC__ENABLE_SUBSCRIPTIONS=true
- ROLLUP__RPC__MAX_SUBSCRIPTIONS_PER_CONNECTION=10
- ROLLUP__RUNNER__SEQUENCER_CLIENT_URL=https://rpc.testnet.citrea.xyz
- ROLLUP__RUNNER__INCLUDE_TX_BODY=false
- ROLLUP__RUNNER__SYNC_BLOCKS_COUNT=10
- RUST_LOG=info
- JSON_LOGS=1
ports:
- "8080:8080"
volumes:
- citrea-full-node:/mnt/task/citrea-db
networks:
- citrea-testnet-network
volumes:
bitcoin-testnet4:
citrea-full-node:
networks:
citrea-testnet-network:
driver: bridge