Add configuration directories
This commit is contained in:
parent
9479405aab
commit
edba14e5ba
1 changed files with 6 additions and 1 deletions
|
@ -51,9 +51,11 @@ COPY --from=builder /build/target/release/electrs /usr/bin/electrs
|
||||||
|
|
||||||
RUN adduser --system --group --disabled-password --home /electrs electrs
|
RUN adduser --system --group --disabled-password --home /electrs electrs
|
||||||
|
|
||||||
|
RUN mkdir -p /etc/electrs
|
||||||
|
|
||||||
USER electrs
|
USER electrs
|
||||||
|
|
||||||
RUN mkdir -p /electrs/db /electrs/.bitcoin
|
RUN mkdir -p /electrs/db /electrs/.bitcoin /electrs/.electrs
|
||||||
|
|
||||||
# Data directory
|
# Data directory
|
||||||
VOLUME /electrs/db
|
VOLUME /electrs/db
|
||||||
|
@ -61,6 +63,9 @@ VOLUME /electrs/db
|
||||||
# Bitcoin daemon data
|
# Bitcoin daemon data
|
||||||
VOLUME /electrs/.bitcoin
|
VOLUME /electrs/.bitcoin
|
||||||
|
|
||||||
|
# Config directories
|
||||||
|
VOLUME /etc/electrs /electrs/.electrs
|
||||||
|
|
||||||
# Electrum RPC - Mainnet
|
# Electrum RPC - Mainnet
|
||||||
EXPOSE 50001
|
EXPOSE 50001
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue