mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
Merge pull request #15 from Permissionless-Software-Foundation/ct-unstable
fix(production): Auto-restarting bch-dex Docker container
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -82,7 +82,7 @@ services:
|
||||
- '5700:5700' # <host port>:<container port>
|
||||
# volumes:
|
||||
# - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
|
||||
#restart: always
|
||||
restart: always
|
||||
|
||||
dex-ui:
|
||||
build:
|
||||
@@ -101,4 +101,4 @@ services:
|
||||
- '4500:80' # <host port>:<container port>
|
||||
# volumes:
|
||||
# - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
|
||||
#restart: always
|
||||
restart: always
|
||||
|
||||
@@ -83,7 +83,7 @@ services:
|
||||
- '5700:5700' # <host port>:<container port>
|
||||
# volumes:
|
||||
# - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
|
||||
#restart: always
|
||||
restart: always
|
||||
|
||||
dex-ui:
|
||||
build:
|
||||
@@ -102,4 +102,4 @@ services:
|
||||
- '4500:80' # <host port>:<container port>
|
||||
# volumes:
|
||||
# - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
|
||||
#restart: always
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user