mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
fix, was not using postgres
This commit is contained in:
parent
d655dfec7d
commit
bf8579eeaa
@ -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"]
|
@ -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…
Reference in New Issue
Block a user