services: nockchain: image: ghcr.io/lushdog/nockchain:latest network_mode: host privileged: true restart: unless-stopped volumes: - ./nockchain:/app/data - ./nockchain-wallet:/root/.nockapp/wallet environment: - MINING_PUBKEY=${MINING_PUBKEY:?please make sure to set your MINING_PUBKEY environment variable in the .env file} command: - "--npc-socket" - "nockchain.sock" - "--mining-pubkey" - "${MINING_PUBKEY}" - "--bind" - "/ip4/0.0.0.0/udp/3006/quic-v1"