From bb2f20b322b1efb150cc07daf6875f929ed9befb Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 27 Mar 2022 13:47:05 -0700 Subject: [PATCH] fix(production): Auto-restarting bch-dex Docker container --- README.md | 1 + production/docker/docker-compose.yml | 4 ++-- production/rpi-docker/docker-compose.yml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2afa924..aa1a9e9 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Instructions for setting up Node.js, Docker, and Docker Compose can be found in Building the Docker containers and getting the app working involve these steps: - Follow the direction in [this Gist](https://gist.github.com/christroutner/a39f656850dc022b60f25c9663dd1cdd) to install Node.js, Docker, and Docker Compose. +- Clone the repository with `git clone https://github.com/Permissionless-Software-Foundation/bch-dex` and enter it with `cd bch-dex`. - Install dependencies by running `npm install` - Create a wallet by executing the [create-wallet.js script](./production/scripts/create-wallet.js) with `node create-wallet.js` - Move the `wallet.json` file to the [x86 Docker folder](./production/docker/bch-dex) or the [RPi Docker folder](./production/rpi-docker/bch-dex/) depending on your hardware target. diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index 8e67ea1..ef1283e 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -82,7 +82,7 @@ services: - '5700:5700' # : # volumes: # - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata - #restart: always + restart: always dex-ui: build: @@ -101,4 +101,4 @@ services: - '4500:80' # : # volumes: # - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata - #restart: always + restart: always diff --git a/production/rpi-docker/docker-compose.yml b/production/rpi-docker/docker-compose.yml index dade123..e1b1de6 100644 --- a/production/rpi-docker/docker-compose.yml +++ b/production/rpi-docker/docker-compose.yml @@ -83,7 +83,7 @@ services: - '5700:5700' # : # volumes: # - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata - #restart: always + restart: always dex-ui: build: @@ -102,4 +102,4 @@ services: - '4500:80' # : # volumes: # - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata - #restart: always + restart: always