From b145651e3f8381bc26c5e1613949108e9dd4336a Mon Sep 17 00:00:00 2001 From: Mayank Date: Thu, 21 May 2020 14:43:28 +0530 Subject: [PATCH] updated docker compose --- docker-compose.yml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cf92b07..410d2a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ x-utility: &default-utility network_mode: host services: - web: + nginx: image: nginx:1.17.8 logging: *default-logging volumes: @@ -37,21 +37,41 @@ services: - /var/lib/tor:/var/lib/tor - /run/tor:/run/tor/ restart: on-failure - depends_on: [ bitcoin, web ] network_mode: host stop_grace_period: 1m30s + dashboard: + image: getumbrel/dashboard:v0.2.0 + logging: *default-logging + restart: always + network_mode: host + manager: + image: getumbrel/manager:v0.1.0 + logging: *default-logging + restart: unless-stopped + network_mode: host + volumes: + - "${HOME}/db:/db" + environment: + PORT: "3006" + USER_PASSWORD_FILE: "/db/user.json" + JWT_PUBLIC_KEY_FILE: "/db/jwt-public-key/jwt.pem" + JWT_PRIVATE_KEY_FILE: "/db/jwt-private-key/jwt.key" + JWT_EXPIRATION: "3600" middleware: - image: getumbrel/middleware:v0.0.5 - depends_on: [ bitcoin, lnd ] + image: getumbrel/middleware:v0.1.0 logging: *default-logging - restart: on-failure + restart: unless-stopped network_mode: host + depends_on: [ manager ] volumes: - - "${HOME}/lnd:/lnd" + - "${HOME}/lnd:/lnd" + - "${HOME}/db/jwt-public-key:/jwt-public-key" environment: + PORT: "3005" BITCOIN_HOST: "0.0.0.0" RPC_PORT: "8332" RPC_USER: "" 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