From 71b1e9d0d4c88e3fa6295fd69c302c9e229f5b53 Mon Sep 17 00:00:00 2001 From: BT Date: Sun, 24 May 2020 23:04:35 +0700 Subject: [PATCH] Add wait-for-node-manager.sh to docker-compose.yml --- docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 12308c8..1e4d929 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,7 +58,8 @@ services: JWT_PRIVATE_KEY_FILE: "/db/jwt-private-key/jwt.key" JWT_EXPIRATION: "3600" middleware: - image: getumbrel/middleware:v0.1.0.4 + image: getumbrel/middleware:v0.1.0.5 + command: ["./wait-for-node-manager.sh", "localhost", "npm", "start"] logging: *default-logging restart: unless-stopped network_mode: host @@ -74,4 +75,4 @@ services: RPC_PASSWORD: "" LND_NETWORK: "mainnet" LND_HOST: "127.0.0.1" - JWT_PUBLIC_KEY_FILE: "/jwt-public-key/jwt.pem" \ No newline at end of file + JWT_PUBLIC_KEY_FILE: "/jwt-public-key/jwt.pem"