fix, was not using postgres

This commit is contained in:
NicolasDorier
2017-09-27 23:53:59 +09:00
parent d655dfec7d
commit bf8579eeaa
2 changed files with 4 additions and 1 deletions

View File

@@ -5,4 +5,5 @@ 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", "--postgres=\"User ID=postgres;Host=postgres;Port=54320;Database=btcpayserver\""]
ENV POSTGRES="User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver"
CMD ["--testnet", "--explorercookiefile=/.cookie", "--explorerurl=https://nbxplorer-testnet-public.azurewebsites.net/", "--bind=0.0.0.0"]