Browse Source

fix, was not using postgres

migrate-pregen
NicolasDorier 7 years ago
parent
commit
bf8579eeaa
  1. 3
      DockerFile
  2. 2
      README.md

3
DockerFile

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

2
README.md

@ -15,6 +15,8 @@ If you want to refresh the btcpay image up to the latest master, you need to reb
```
docker build . -t btcpay --no-cache
docker-compose build
docker-compose up
```
By default this will connect to a NBXplorer instance hosted by me, on which I can make no promise of avaialability.

Loading…
Cancel
Save