Docker file for dogecoind
# this will generate conf file by default
# not recommend only to run this way, always set your own username and password
docker run yujinlim/dogecoind
# with commands
docker run --rm -it yujinlim/dogecoind -rpcuser=user -rpcpassword=password -printtoconsole# dogecoin/replication.yml
apiVersion: v1
kind: ReplicationController
metadata:
name: dogecoin
spec:
replicas: 1
template:
metadata:
name: dogecoin
labels:
app: dogecoin
spec:
containers:
- name: dogecoin
image: yujinlim/dogecoind
ports:
- containerPort: 22555
- containerPort: 22556
args: ["-txindex", "-rpcallowip=::/0", "-printtoconsole", "-disablewallet", "-conf=/etc/opt/dogecoin/dogecoin.conf"]
volumeMounts:
- name: dogecoin-conf
mountPath: /etc/opt/dogecoin
- name: dogecoin-dir
mountPath: /dogecoin
volumes:
- name: dogecoin-conf
secret:
secretName: dogecoin-secret
- name: dogecoin-dir
hostPath:
path: /data/dogecoin- Vagrant
vagrant up
vagrant ssh
cd /vagrant
# build docker image
make build