Browse Source

Use postgres

migrate-pregen
NicolasDorier 7 years ago
parent
commit
1669d74967
  1. 12
      README.md
  2. 15
      docker-compose.yml

12
README.md

@ -1,15 +1,21 @@
# How to use # How to use
Mainnet is not support for now, as BTCPay is under development. 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 git clone https://github.com/btcpayserver/btcpayserver-docker
cd btcpayserver-docker cd btcpayserver-docker
docker build . -t btcpay docker-compose up
docker run -p 23001:23001 -ti btcpay
``` ```
You can then browse http://127.0.0.1:23001/ 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. By default this will connect to a NBXplorer instance hosted by me, on which I can make no promise of avaialability.

15
docker-compose.yml

@ -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…
Cancel
Save