2017-09-28 09:35:29 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
2017-09-28 11:49:24 +02:00
|
|
|
|
2017-10-02 17:41:03 +02:00
|
|
|
tests:
|
2017-09-28 11:49:24 +02:00
|
|
|
build:
|
2017-10-02 17:41:03 +02:00
|
|
|
context: ..
|
|
|
|
dockerfile: BTCPayServer.Tests/Dockerfile
|
2017-09-28 11:49:24 +02:00
|
|
|
environment:
|
2017-10-02 17:41:03 +02:00
|
|
|
TESTS_RPCCONNECTION: server=http://bitcoind:43782;ceiwHEbqWI83:DwubwWsoo3
|
|
|
|
TESTS_NBXPLORERURL: http://nbxplorer:32838/
|
|
|
|
TESTS_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver
|
2017-10-12 09:33:53 +02:00
|
|
|
TESTS_FAKECALLBACK: 'true'
|
|
|
|
TESTS_PORT: 80
|
|
|
|
TESTS_HOSTNAME: tests
|
|
|
|
expose:
|
|
|
|
- "80"
|
2017-09-28 11:49:24 +02:00
|
|
|
links:
|
|
|
|
- nbxplorer
|
2017-10-12 09:33:53 +02:00
|
|
|
extra_hosts:
|
|
|
|
- "tests:127.0.0.1"
|
2017-09-28 11:49:24 +02:00
|
|
|
|
|
|
|
nbxplorer:
|
2017-12-02 17:56:26 +01:00
|
|
|
image: nicolasdorier/nbxplorer:1.0.0.29
|
2017-10-02 17:41:03 +02:00
|
|
|
ports:
|
|
|
|
- "32838:32838"
|
2017-09-28 11:49:24 +02:00
|
|
|
expose:
|
|
|
|
- "32838"
|
2017-09-28 09:35:29 +02:00
|
|
|
environment:
|
|
|
|
NBXPLORER_NETWORK: regtest
|
2017-09-28 11:49:24 +02:00
|
|
|
NBXPLORER_RPCURL: http://bitcoind:43782/
|
2017-09-28 09:35:29 +02:00
|
|
|
NBXPLORER_RPCUSER: ceiwHEbqWI83
|
|
|
|
NBXPLORER_RPCPASSWORD: DwubwWsoo3
|
2017-10-02 17:41:03 +02:00
|
|
|
NBXPLORER_NODEENDPOINT: bitcoind:39388
|
2017-09-28 11:49:24 +02:00
|
|
|
NBXPLORER_BIND: 0.0.0.0:32838
|
2017-11-06 09:31:02 +01:00
|
|
|
NBXPLORER_VERBOSE: 1
|
2017-09-28 09:35:29 +02:00
|
|
|
NBXPLORER_NOAUTH: 1
|
|
|
|
links:
|
|
|
|
- bitcoind
|
2017-10-02 17:41:03 +02:00
|
|
|
- postgres
|
2017-09-28 09:35:29 +02:00
|
|
|
|
2017-12-02 17:56:26 +01:00
|
|
|
eclair:
|
|
|
|
image: nicolasdorier/docker-bitcoin:0.15.0.1
|
|
|
|
|
2017-09-28 09:35:29 +02:00
|
|
|
bitcoind:
|
2017-10-21 12:56:55 +02:00
|
|
|
container_name: btcpayserver_dev_bitcoind
|
2017-09-29 09:40:33 +02:00
|
|
|
image: nicolasdorier/docker-bitcoin:0.15.0.1
|
2017-10-02 17:41:03 +02:00
|
|
|
ports:
|
|
|
|
- "43782:43782"
|
|
|
|
- "39388:39388"
|
2017-09-28 09:35:29 +02:00
|
|
|
environment:
|
2017-11-27 09:01:11 +01:00
|
|
|
BITCOIN_EXTRA_ARGS: |
|
|
|
|
rpcuser=ceiwHEbqWI83
|
|
|
|
rpcpassword=DwubwWsoo3
|
|
|
|
regtest=1
|
|
|
|
rpcport=43782
|
|
|
|
port=39388
|
|
|
|
whitelist=0.0.0.0/0
|
2017-09-28 09:35:29 +02:00
|
|
|
expose:
|
2017-09-28 11:49:24 +02:00
|
|
|
- "43782"
|
2017-10-02 17:41:03 +02:00
|
|
|
- "39388"
|
|
|
|
|
2017-09-28 09:35:29 +02:00
|
|
|
postgres:
|
|
|
|
image: postgres:9.6.5
|
2017-10-02 17:41:03 +02:00
|
|
|
ports:
|
2017-11-01 10:17:39 +01:00
|
|
|
- "39372:5432"
|