From 88211bd7ac1cac3c9aed482ea90a1c0a58c518df Mon Sep 17 00:00:00 2001 From: NicolasDorier Date: Wed, 27 Sep 2017 23:31:08 +0900 Subject: [PATCH] Add postgres connection --- DockerFile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DockerFile b/DockerFile index 29d9f70..03e3e89 100644 --- a/DockerFile +++ b/DockerFile @@ -5,4 +5,4 @@ RUN cd btcpayserver && dotnet restore && cd BTCPayServer && dotnet build -c Debu EXPOSE 23001 WORKDIR /btcpayserver/BTCPayServer ENTRYPOINT ["dotnet", "bin/Debug/netcoreapp2.0/BTCPayServer.dll"] -CMD ["--testnet", "--explorercookiefile=/.cookie", "--explorerurl=https://nbxplorer-testnet-public.azurewebsites.net/", "--bind=0.0.0.0"] \ No newline at end of file +CMD ["--testnet", "--explorercookiefile=/.cookie", "--explorerurl=https://nbxplorer-testnet-public.azurewebsites.net/", "--bind=0.0.0.0", "--postgres=\"User ID=postgres;Host=postgres;Port=54320;Database=btcpayserver\"""] \ No newline at end of file diff --git a/README.md b/README.md index 8ac107a..6a06df1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Running on TestNet with postgres database: ``` git clone https://github.com/btcpayserver/btcpayserver-docker cd btcpayserver-docker -docker-compose up +docker-compose up --force-recreate ``` You can then browse http://127.0.0.1:23001/