From 09c6817728f79c418dc4b00d1e5b1b530710e757 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Mon, 15 Nov 2021 14:11:37 +0000 Subject: [PATCH] Secure thunderhub --- apps/thunderhub/app.yml | 3 ++- apps/thunderhub/data/thubConfig.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/thunderhub/app.yml b/apps/thunderhub/app.yml index 084b3c3..4271549 100644 --- a/apps/thunderhub/app.yml +++ b/apps/thunderhub/app.yml @@ -31,7 +31,7 @@ metadata: - 1.jpg - 2.jpg - 3.jpg - defaultPassword: moneyprintergobrrr + defaultPassword: $APP_SEED containers: - image: apotdevin/thunderhub:v0.12.30@sha256:631c911609da44685687ac11ace4391e1cdfa52caa70582ea41d1b468cdec8e1 user: 1000:1000 @@ -40,6 +40,7 @@ containers: LOG_LEVEL: debug ACCOUNT_CONFIG_PATH: /data/thubConfig.yaml YML_ENV_1: $LND_IP:$LND_GRPC_PORT + YML_ENV_2: $APP_SEED TOR_PROXY_SERVER: socks://$TOR_PROXY_IP:$TOR_PROXY_PORT name: web port: 3000 diff --git a/apps/thunderhub/data/thubConfig.yaml b/apps/thunderhub/data/thubConfig.yaml index 55860b7..20ccfc3 100644 --- a/apps/thunderhub/data/thubConfig.yaml +++ b/apps/thunderhub/data/thubConfig.yaml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: AGPL-3.0-only -masterPassword: 'moneyprintergobrrr' +masterPassword: '{YML_ENV_2}' accounts: - name: 'Citadel' serverUrl: '{YML_ENV_1}'