# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors # # SPDX-License-Identifier: GPL-3.0-or-later bitcoin: container_name: bitcoin image: nolim1t/bitcoinknots:v22.0.knots20211108@sha256:a475da2b2ecda55fcc65ea23e1a36c58b2c10549f1c3d3bb3c31c7dda1127354 depends_on: - tor volumes: - ${PWD}/bitcoin:/data/.bitcoin restart: on-failure stop_grace_period: 1m ports: - $BITCOIN_P2P_PORT:$BITCOIN_P2P_PORT networks: default: ipv4_address: $BITCOIN_IP