Add postgres connection

This commit is contained in:
NicolasDorier 2017-09-27 23:31:08 +09:00
parent 1669d74967
commit 88211bd7ac
2 changed files with 2 additions and 2 deletions

View File

@ -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"]
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\"""]

View File

@ -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/