Browse Source

Add postgres connection

migrate-pregen
NicolasDorier 7 years ago
parent
commit
88211bd7ac
  1. 2
      DockerFile
  2. 2
      README.md

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

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

Loading…
Cancel
Save