Skip to content

Morpheus masternode Alpine docker with node + trustmnw-cli

License

Notifications You must be signed in to change notification settings

paulgocrypto/docker-trustmnw-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-trustmnw-cli

Morpheus masternode Alpine docker with node + trustmnw-cli

Quick start

Assumption you have docker and docker-compose installed.

1. Clone this repo to bootstrap docker container

$ mkdir -p /opt/trustmnw-docker
$ cd /opt/trustmnw-docker

$ git clone https://github.com/paulgocrypto/docker-trustmnw-cli.git

2. Build the docker image and start container

$ docker-compose up -d

3. Login with trustmnw-cli

$ docker exec -it trustmnw /usr/local/bin/trustmnw-cli login

4. Check status with trustmnw-cli

$ docker exec -it trustmnw /usr/local/bin/trustmnw-cli status

image

NB: <ctrl> + <c> to exit.

Other usefull commands.

force image rebuild after changing settings in Dockerfile

$ docker-compose up --force-recreate --remove-orphans --build -d

check image + tag

$ docker image ls

enter conatiner for multiple commands

$ docker exec -it trustmnw bash

force upgrade version, rebuild image

$ docker-compose build --no-cache

TODO

  • Test healthcheck without being loggedon ( extend start_period time?! )
  • Tag and push docker image to docker hub/repo
    • docker tag local-image:tagname new-repo:tagname
    • docker push new-repo:tagname
    • update docker-compose to use prebuild image.
  • Add external monitoring docker (e.g. webdevops/php-apache:8.2) or some other monitoring to check on data/web/index.php

About

Morpheus masternode Alpine docker with node + trustmnw-cli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published