-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocker-compose-public-rpc.yml
50 lines (47 loc) · 1.12 KB
/
docker-compose-public-rpc.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
version: "3"
x-logging:
&default-logging
options:
max-file: '1'
compress: 'false'
driver: local
networks:
autonity_network:
name: autonity_network
services:
autonity_rpc:
image: ghcr.io/autonity/autonity:${AUTONITY_NODE_RELEASE:-latest}
container_name: autonity_rpc
restart: always
networks:
autonity_network:
ipv4_address: ${DOCKER_SUBNET_PREFIX}.52
ports:
- 8945:8545
- 8946:8546
- 30304:30304
- 30304:30304/udp
# - 6060 #PPROF
- 6064 #PROMETHEUS
volumes:
- ./.data/autonity_node_rpc:/autonity-chaindata
# build:
# context: ./src/docker/autonity/
# dockerfile: Dockerfile
command:
- --datadir=/autonity-chaindata
- --port=30304
- --${NETWORK_NAME}
- --http
- --http.addr=0.0.0.0
- --http.api=aut,eth,net,txpool,web3
- --http.vhosts=*
- --ws
- --ws.addr=0.0.0.0
- --ws.api=aut,eth,net,personal,txpool,web3
- --nat=extip:${EXTERNAL_IP}
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6064
- --metrics.expensive
- --pprof