diff options
| author | Derrick <[email protected]> | 2021-07-12 15:48:37 -0600 |
|---|---|---|
| committer | Derrick <[email protected]> | 2021-07-12 15:48:37 -0600 |
| commit | 8718a3e18dd4637ca9bec5cf4ddf9ec3d9d8c6a0 (patch) | |
| tree | 4e0f590361a29643f23ce5de56c972949c27e5c8 | |
| parent | 15bd78c88669461278c1c7a79183d97e8579a063 (diff) | |
| parent | f81c4603b77077902bbe0e6d2891e4c0afd17781 (diff) | |
| download | coinos-server-8718a3e18dd4637ca9bec5cf4ddf9ec3d9d8c6a0.tar.gz coinos-server-8718a3e18dd4637ca9bec5cf4ddf9ec3d9d8c6a0.zip | |
Merge branch 'zeromq6' into zeromq6beta
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | routes/bitcoin/receive.js | 2 | ||||
| -rw-r--r-- | routes/liquid/receive.js | 2 |
3 files changed, 3 insertions, 14 deletions
@@ -4,7 +4,7 @@ Coinos is a bitcoin wallet app that supports payments over the <a href="https:// This repository contains the code for the backend API server which is implemented as a NodeJS application. The code for the frontend UI is tracked separately <a href="https://github.com/asoltys/coinos.io">here</a> (but is automatically installed & started via the Docker way outlined below). -## Install/Run (the Docker way)* +## Install/Run (the Docker way) ### Requirements @@ -39,17 +39,6 @@ At anypoint to purge the database and start with a new one run `rm -rf mysql` an To review a log of individual containers use `docker-compose app` or `docker-compose maria` etc; container names are available in `docker-compose.yml` or via `docker-compose ps` when they are running. `docker images` will show you a list of the images installed on your system and `docker image rm [IMAGE ID]` removes them. -*Known issue: coinos-server app container may currently crash in non production environment, to work around this you may edit `package.json` and edit the following line - - "start" : "nodemon index.js", - # change to: - "start" : "SCOPE=MIN nodemon index.js", - -and then restart the container ie- `docker-compose restart app` - -Note this workaround disables most functionality including Bitcoin, Lightning, and Liquid interactions. - - #### Volumes and local filesystem changes The `docker-compose.yml` specifies volumes that map to the host (ie- your local machine). As per Docker's <a href="https://docs.docker.com/storage/volumes/">volume feature</a> these override what is in the container's 'virtual' filesystem for those folders and instead will map to what is on your local filesystem. As such, changes/developments that occur in these locations will be reflected without needing to restart the containers. diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js index dbc5801b..d782627d 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -1,5 +1,5 @@ const reverse = require("buffer-reverse"); -const zmq = require("zeromq"); +const zmq = require("zeromq/v5-compat"); const { Op } = require("sequelize"); const { fromBase58 } = require("bip32"); diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js index 99bcae2f..c377a6b5 100644 --- a/routes/liquid/receive.js +++ b/routes/liquid/receive.js @@ -1,6 +1,6 @@ const axios = require("axios"); const reverse = require("buffer-reverse"); -const zmq = require("zeromq"); +const zmq = require("zeromq/v5-compat"); const { Op } = require("sequelize"); const { fromBase58 } = require("bip32"); const bitcoin = require("bitcoinjs-lib"); |
