-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use docker-compose to simplify commands and use as a guide - Put username and password for the RPC as it is now required
- Loading branch information
1 parent
0d7982a
commit 2aba51e
Showing
5 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM python:2.7-slim | ||
FROM python:3.6-slim | ||
MAINTAINER Vladimir Osintsev <[email protected]> | ||
|
||
ENV ELECTRUM_VERSION 2.7.12 | ||
RUN apt-get update -y && apt-get install -y python-qt4 socat telnet netcat curl | ||
|
||
ENV ELECTRUM_VERSION 3.0.5 | ||
ENV ELECTRUM_USER electrum-user | ||
ENV ELECTRUM_HOME /home/$ELECTRUM_USER | ||
|
||
RUN useradd -m $ELECTRUM_USER | ||
|
||
RUN apt-get update -y && apt-get install -y python-qt4 socat telnet netcat curl | ||
|
||
RUN pip install \ | ||
https://download.electrum.org/${ELECTRUM_VERSION}/Electrum-${ELECTRUM_VERSION}.tar.gz | ||
|
||
|
@@ -23,7 +23,5 @@ VOLUME /data | |
|
||
EXPOSE 7000 | ||
|
||
RUN electrum setconfig rpcport 7777 | ||
|
||
ADD run.sh / | ||
ENTRYPOINT /run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
services: | ||
electrum: | ||
build: . | ||
ports: | ||
- "7000:7000" | ||
command: run.sh | ||
environment: | ||
ELECTRUM_RPCUSER: electrum | ||
ELECTRUM_RPCPASSWORD: electrumz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ELECTRUM_RPCUSER: electrum | ||
ELECTRUM_RPCPASSWORD: electrumz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters