2022-01-28 06:52:26 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
2021-10-22 15:22:10 +00:00
|
|
|
#
|
2022-01-21 20:37:48 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2021-10-22 15:22:10 +00:00
|
|
|
|
|
|
|
electrs:
|
|
|
|
container_name: electrs
|
2022-01-02 09:10:57 +00:00
|
|
|
image: ghcr.io/runcitadel/electrs:v0.9.4@sha256:e216736fa26ef8c8b9e9a0a1fb7bc759546f1a0b74ef5ef3022470495e68f3a1
|
2021-10-22 15:22:10 +00:00
|
|
|
working_dir: /data
|
|
|
|
volumes:
|
|
|
|
- ${PWD}/bitcoin:/bitcoin:ro
|
|
|
|
- ${PWD}/electrs:/data
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 5m
|
|
|
|
ports:
|
|
|
|
- "$ELECTRUM_PORT:$ELECTRUM_PORT"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $ELECTRUM_IP
|