Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions infrastructure/config/docker/docker-compose-firo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,22 @@ services:
firod:
image: firoorg/firod:0.14.15.2
restart: unless-stopped
deploy:
resources:
limits:
memory: 2048M
reservations:
memory: 1024M
volumes:
- ./volumes/firo:/home/firod/.firo
ports:
- '8168:8168'
- '8888:8888'
healthcheck:
test: firo-cli -conf=/home/firod/.firo/firo.conf getblockchaininfo || exit 1
test: firo-cli -conf=/home/firod/.firo/firo.conf getblockcount || exit 1
start_period: 120s
interval: 30s
timeout: 60s
retries: 10
interval: 120s
timeout: 10s
retries: 3
command: >
-conf=/home/firod/.firo/firo.conf
17 changes: 13 additions & 4 deletions infrastructure/config/firo/firo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,18 @@ spentindex=0

# Network
onlynet=ipv4

# Performance
dbcache=512
maxconnections=40

# Mempool (defaults: maxmempool=300MB, mempoolexpiry=72h, maxorphantx=100)
maxmempool=100
mempoolexpiry=24
maxorphantx=10

# Performance (defaults: dbcache=450MB, rpcthreads=4, rpcworkqueue=16)
dbcache=256
rpcthreads=8
rpcworkqueue=32
rpcworkqueue=64

# Per-connection buffer limits (value * 1000 bytes; defaults: send=1000, receive=5000)
maxsendbuffer=500
maxreceivebuffer=2000
Loading