services: ks_bridge: build: context: . no_cache: true container_name: ks_bridge restart: unless-stopped user: "0" command: - '-stats=false' - '-kaspa=host.docker.internal:16110' - '-stratum=:5555' # port to which miners should connect - '-prom=:2114' # port at which raw prometheus stats will be available - '-mindiff=2048' # minimum share difficulty to accept from miner(s) - '-vardiff=true' # enable auto-adjusting variable min diff - '-pow2clamp=true' # limit diff to 2^n (e.g. 64, 128, 256, etc) - '-sharespermin=20' # number of shares per minute the vardiff engine should target - '-vardiffstats=false' # include vardiff stats readout every 10s in log - '-extranonce=2' # size in bytes of extranonce - '-blockwait=3s' # time in to wait before manually requesting new block ports: - 5555:5555 - 2114:2114 extra_hosts: - host.docker.internal:host-gateway