mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-01-15 12:54:36 +01:00
fix, was not using postgres
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user