mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Add postgres connection
This commit is contained in:
parent
1669d74967
commit
88211bd7ac
@ -5,4 +5,4 @@ RUN cd btcpayserver && dotnet restore && cd BTCPayServer && dotnet build -c Debu
|
|||||||
EXPOSE 23001
|
EXPOSE 23001
|
||||||
WORKDIR /btcpayserver/BTCPayServer
|
WORKDIR /btcpayserver/BTCPayServer
|
||||||
ENTRYPOINT ["dotnet", "bin/Debug/netcoreapp2.0/BTCPayServer.dll"]
|
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\"""]
|
@ -6,7 +6,7 @@ Running on TestNet with postgres database:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/btcpayserver/btcpayserver-docker
|
git clone https://github.com/btcpayserver/btcpayserver-docker
|
||||||
cd btcpayserver-docker
|
cd btcpayserver-docker
|
||||||
docker-compose up
|
docker-compose up --force-recreate
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then browse http://127.0.0.1:23001/
|
You can then browse http://127.0.0.1:23001/
|
||||||
|
Loading…
Reference in New Issue
Block a user