From 0e00a6de04cb4cb6070433dd3b06a4a6153c3b58 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Fri, 7 Apr 2023 09:48:19 -0500 Subject: [PATCH] Add faucet as a submodule --- .gitmodules | 3 +++ docker-compose.yml | 15 ++++++++------- mutinynet-faucet | 1 + 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 .gitmodules create mode 160000 mutinynet-faucet diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1d6f641 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "mutinynet-faucet"] + path = mutinynet-faucet + url = https://github.com/MutinyWallet/mutinynet-faucet.git diff --git a/docker-compose.yml b/docker-compose.yml index 0130560..07551f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,18 +26,19 @@ services: - "38334:38334" faucet: container_name: "faucet" - image: mutinynet-faucet + build: + context: ./mutinynet-faucet + args: + VITE_HOST: "bitcoin" + VITE_PORT: "38332" + VITE_USER: "bitcoin" + VITE_PASS: $RPCPASSWORD + VITE_NETWORK: "signet" user: "0:1000" restart: always stop_grace_period: 1m volumes: - ~/volumes/faucet:/root/.faucet - environment: - VITE_HOST: "bitcoin" - VITE_PORT: "38332" - VITE_USER: "bitcoin" - VITE_PASS: $RPCPASSWORD - VITE_NETWORK: "signet" ports: - "3000:3000" web: diff --git a/mutinynet-faucet b/mutinynet-faucet new file mode 160000 index 0000000..2a88e3a --- /dev/null +++ b/mutinynet-faucet @@ -0,0 +1 @@ +Subproject commit 2a88e3a7382d565b760d444a11d9bb5458ca8071