mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Use postgres
This commit is contained in:
parent
f707e1d53a
commit
1669d74967
12
README.md
12
README.md
@ -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.
|
||||
|
||||
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@ -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
Block a user