NicolasDorier
7 years ago
commit
814eb6bd59
3 changed files with 44 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
FROM microsoft/dotnet:2.0.0-sdk |
||||
|
|
||||
|
RUN git clone https://github.com/btcpayserver/btcpayserver |
||||
|
RUN cd btcpayserver && dotnet restore && cd BTCPayServer && dotnet build -c Debug |
||||
|
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"] |
@ -0,0 +1,21 @@ |
|||||
|
MIT License |
||||
|
|
||||
|
Copyright (c) 2017 btcpayserver |
||||
|
|
||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
|
of this software and associated documentation files (the "Software"), to deal |
||||
|
in the Software without restriction, including without limitation the rights |
||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
|
copies of the Software, and to permit persons to whom the Software is |
||||
|
furnished to do so, subject to the following conditions: |
||||
|
|
||||
|
The above copyright notice and this permission notice shall be included in all |
||||
|
copies or substantial portions of the Software. |
||||
|
|
||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||
|
SOFTWARE. |
@ -0,0 +1,15 @@ |
|||||
|
# How to use |
||||
|
|
||||
|
Mainnet is not support for now, as BTCPay is under development. |
||||
|
Running on TestNet: |
||||
|
|
||||
|
``` |
||||
|
git clone https://github.com/btcpayserver/btcpayserver-docker |
||||
|
cd btcpayserver-docker |
||||
|
docker build -t btcpay |
||||
|
docker run -p 23001:23001 -ti btcpay |
||||
|
``` |
||||
|
|
||||
|
You can then browse http://127.0.0.1:23001/ |
||||
|
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