NicolasDorier
7 years ago
2 changed files with 24 additions and 3 deletions
@ -1,15 +1,21 @@ |
|||
# How to use |
|||
|
|||
Mainnet is not support for now, as BTCPay is under development. |
|||
Running on TestNet: |
|||
Running on TestNet with postgres database: |
|||
|
|||
``` |
|||
git clone https://github.com/btcpayserver/btcpayserver-docker |
|||
cd btcpayserver-docker |
|||
docker build . -t btcpay |
|||
docker run -p 23001:23001 -ti btcpay |
|||
docker-compose up |
|||
``` |
|||
|
|||
You can then browse http://127.0.0.1:23001/ |
|||
|
|||
If you want to refresh the btcpay image up to the latest master, you need to rebuild the image. |
|||
|
|||
``` |
|||
docker build . -t btcpay --no-cache |
|||
``` |
|||
|
|||
By default this will connect to a NBXplorer instance hosted by me, on which I can make no promise of avaialability. |
|||
|
|||
|
@ -0,0 +1,15 @@ |
|||
version: "3" |
|||
|
|||
services: |
|||
btcpayserver: |
|||
ports: |
|||
- 23001:23001 |
|||
build: |
|||
context: . |
|||
dockerfile: DockerFile |
|||
|
|||
postgres: |
|||
image: postgres:9.6.5 |
|||
ports: |
|||
- 5432:5432 |
|||
|
Loading…
Reference in new issue