- mkdir /root/github/bit-matrix cd /root/github/bit-matrix git clone https://github.com/bit-matrix/ba-worker.git cd ba-worker git checkout -b git branch --set-upstream-to=origin git pull
cd /root/github/bit-matrix/ba-worker git pull docker build -t ba-worker . docker run -d --network="host" ba-worker docker run --name my-redis -p 6379:6379 -d redis
docker logs -f -n 20 8449e5fed439
docker build -t ba-worker .
docker run -d --network="host" ba-worker
docker ps
docker rm $(docker ps -a -q)
docker stop $(docker ps -a -q)
docker images
docker rmi $(docker images -q)
DB_URL=http://127.0.0.1:8899 ELECTRS_URL=http://127.0.0.1:3000 node dist/app.js
MIT Free Software, Hell Yeah!