Open dr4mohamed opened 2 months ago
@Normalnoise
Any problems have you encountered?
@Normalnoise no, this pull request
Have you test it?
@Normalnoise
docker run --rm -it -v ./docker-swan:/app/node -v ./letsencrypt:/etc/letsencrypt -v ./.kube:/root/.kube swanchain computing-provider run
/app/node : persistance /etc/letsencrypt : cert domain /root/.kube: k8s config file or service account
thanks for your contributions, once it is tested, I will add it to our repo @dr4mohamed
Dockerfile
BUILD :
docker build -t swanchain .
Result :
usage :
mount volume for persistance : docker run --rm -it -v ./node:/app/node swanchain computing-provider init --multi-address 127.0.0.1 --node-name dr4mohamed
docker run --rm -it -v ./node:/app/node swanchain computing-provider wallet new
edit config.toml and add cert and key and your public key and api MCS