initial commit
This commit is contained in:
commit
404c3ef898
|
@ -0,0 +1,21 @@
|
||||||
|
FROM ubuntu:trusty
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y supervisor wget unzip && \
|
||||||
|
wget -O dogecoin.zip https://github.com/dogecoin/dogecoin/releases/download/v1.8.2/dogecoin-1.8.2-linux64.zip && \
|
||||||
|
unzip dogecoin.zip dogecoind && \
|
||||||
|
mv dogecoind /usr/local/bin/dogecoind && \
|
||||||
|
chmod +x /usr/local/bin/dogecoind && \
|
||||||
|
useradd -m crypto && \
|
||||||
|
su -c "mkdir /home/crypto/dogecoin/" crypto && \
|
||||||
|
rm -rf /tmp/dogecoin.zip /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ADD dogecoin.conf /home/crypto/dogecoin.conf
|
||||||
|
ADD supervisor-dogecoin.conf /etc/supervisor/conf.d/dogecoin.conf
|
||||||
|
|
||||||
|
VOLUME /home/crypto/dogecoin/
|
||||||
|
EXPOSE 6969 22556
|
||||||
|
|
||||||
|
CMD supervisord
|
|
@ -0,0 +1,8 @@
|
||||||
|
listen=1
|
||||||
|
port=22556
|
||||||
|
server=1
|
||||||
|
rpcuser=bobby
|
||||||
|
rpcpassword=propane
|
||||||
|
rpcport==6969
|
||||||
|
rpcallowip=0.0.0.0/0
|
||||||
|
datadir=/home/crypto/dogecoin/
|
|
@ -0,0 +1,6 @@
|
||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
|
||||||
|
[program:dogecoind]
|
||||||
|
command=su -c "dogecoind -conf=/home/crypto/dogecoin.conf" crypto
|
||||||
|
autorestart=true
|
Loading…
Reference in New Issue