From 427263f3c504e88ad9235d6eeddc944c17b755d3 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 17 May 2018 01:49:20 +0900 Subject: [PATCH] fix sh --- README.md | 10 +++++----- build.sh | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 8a04d8c..7663af4 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,11 @@ Invoke-Command { On Linux: ``` -BTCPAYGEN_CRYPTO1=btc \ -BTCPAYGEN_CRYPTO2=ltc \ -BTCPAYGEN_REVERSEPROXY=nginx \ -BTCPAYGEN_LIGHTNING=cligthning \ -BTCPAYGEN_SUBNAME=custom \ +BTCPAYGEN_CRYPTO1="btc" \ +BTCPAYGEN_CRYPTO2="ltc" \ +BTCPAYGEN_REVERSEPROXY="nginx" \ +BTCPAYGEN_LIGHTNING="cligthning" \ +BTCPAYGEN_SUBNAME="custom" \ ./build.sh ``` diff --git a/build.sh b/build.sh index 7e6e86a..6ab0708 100755 --- a/build.sh +++ b/build.sh @@ -3,16 +3,16 @@ # This script will run docker-compose-generator in a container to generate the yml files docker build -t btcpayserver/docker-compose-generator "$(pwd)/docker-compose-generator" docker run -v "$(pwd)/Generated:/app/Generated" \ - -e "BTCPAYGEN_CRYPTO1=$(BTCPAYGEN_CRYPTO1)" \ - -e "BTCPAYGEN_CRYPTO2=$(BTCPAYGEN_CRYPTO2)" \ - -e "BTCPAYGEN_CRYPTO3=$(BTCPAYGEN_CRYPTO3)" \ - -e "BTCPAYGEN_CRYPTO4=$(BTCPAYGEN_CRYPTO4)" \ - -e "BTCPAYGEN_CRYPTO5=$(BTCPAYGEN_CRYPTO5)" \ - -e "BTCPAYGEN_CRYPTO6=$(BTCPAYGEN_CRYPTO6)" \ - -e "BTCPAYGEN_CRYPTO7=$(BTCPAYGEN_CRYPTO7)" \ - -e "BTCPAYGEN_CRYPTO8=$(BTCPAYGEN_CRYPTO8)" \ - -e "BTCPAYGEN_CRYPTO9=$(BTCPAYGEN_CRYPTO9)" \ - -e "BTCPAYGEN_REVERSEPROXY=$(BTCPAYGEN_REVERSEPROXY)" \ - -e "BTCPAYGEN_LIGHTNING=$(BTCPAYGEN_LIGHTNING)" \ - -e "BTCPAYGEN_SUBNAME=$(BTCPAYGEN_SUBNAME)" \ + -e "BTCPAYGEN_CRYPTO1=$BTCPAYGEN_CRYPTO1" \ + -e "BTCPAYGEN_CRYPTO2=$BTCPAYGEN_CRYPTO2" \ + -e "BTCPAYGEN_CRYPTO3=$BTCPAYGEN_CRYPTO3" \ + -e "BTCPAYGEN_CRYPTO4=$BTCPAYGEN_CRYPTO4" \ + -e "BTCPAYGEN_CRYPTO5=$BTCPAYGEN_CRYPTO5" \ + -e "BTCPAYGEN_CRYPTO6=$BTCPAYGEN_CRYPTO6" \ + -e "BTCPAYGEN_CRYPTO7=$BTCPAYGEN_CRYPTO7" \ + -e "BTCPAYGEN_CRYPTO8=$BTCPAYGEN_CRYPTO8" \ + -e "BTCPAYGEN_CRYPTO9=$BTCPAYGEN_CRYPTO9" \ + -e "BTCPAYGEN_REVERSEPROXY=$BTCPAYGEN_REVERSEPROXY" \ + -e "BTCPAYGEN_LIGHTNING=$BTCPAYGEN_LIGHTNING" \ + -e "BTCPAYGEN_SUBNAME=$BTCPAYGEN_SUBNAME" \ --rm btcpayserver/docker-compose-generator \ No newline at end of file