Sign inSign up

dougflynn/kevacoind

By dougflynn

•Updated over 5 years ago

A docker wrapper for the kevacoin daemon

Image
0

277

dougflynn/kevacoind repository overview

⁠Kevacoind

This is a simple wrapper for the kevacoind binary. It runs kevacoind along with the bare minimum arguments to allow RCP access, so you can see this as your own personal API gateway to the Kevacoin blockchain :)

Here are the ENV declarations and their defaults as used in the Dockerfile:

ENV KEVA_RPC_BIND=0.0.0.0
ENV KEVA_ALLOWED_IP=0.0.0.0/0
ENV KEVA_RPC_PORT=5001
ENV KEVA_RPC_USER=keva
ENV KEVA_RPC_PWD=keva_pass
ENV KEVA_PRINT_TO_CONSOLE=1
⁠NOTE: PLEASE CHANGE KEVA_RPC_USER and KEVA_RPC_PWD. IF NOT YOU MAY LOSE VALUABLE DATA OR GET AN INFLUX OF ROGUE NETWORK TRAFFIC.

⁠How to use

⁠Using the docker CLI:
# Get the 
docker pull dougflynn/kevacoind:latest

# Run the image, adding in your user and password
docker run -e "KEVA_RPC_USER=mysecureuser" -e "KEVA_RPC_PWD=mySecURePasSWOrd1234" -v ./PATH_TO_A_FOLDER:/root/.kevacoin dougflynn/kevacoind:latest
⁠Using docker-compose:
# docker-compose.yml

version: "3"
services:
  kevacoind:
    image: dougflynn/kevacoind:beta
    env_file: .my-env
    ports:
      - 5001:5001


⁠Using kubernetes:
# service.yml

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kevacoind
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kevacoind
  template:
    metadata:
      labels:
        app: kevacoind
    spec:
      containers:
        - name: kevacoind
          imagePullPolicy: Always
          image: dougflynn/kevacoind:latest
          ports:
            - containerPort: 5001
---
apiVersion: v1
kind: Service
metadata:
  name: kevacoind-cluster-ip
spec:
  # type: ClusterIP
  ports:
    - port: 80
      protocol: TCP
      targetPort: 5000
  selector:
    app: kevacoind

Tag summary

Content type

Image

Digest

Size

31.2 MB

Last updated

over 5 years ago

docker pull dougflynn/kevacoind