btcpayserver/BTCPayServer.Tests/docker-compose.yml

50 lines
1.2 KiB
YAML
Raw Normal View History

2017-09-28 09:35:29 +02:00
version: "3"
services:
2017-09-28 11:49:24 +02:00
tests:
2017-09-28 11:49:24 +02:00
build:
context: ..
dockerfile: BTCPayServer.Tests/Dockerfile
2017-09-28 11:49:24 +02:00
environment:
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-09-28 11:49:24 +02:00
links:
- nbxplorer
nbxplorer:
image: nicolasdorier/nbxplorer:1.0.0.12
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
NBXPLORER_NODEENDPOINT: bitcoind:39388
2017-09-28 11:49:24 +02:00
NBXPLORER_BIND: 0.0.0.0:32838
2017-09-28 09:35:29 +02:00
NBXPLORER_NOAUTH: 1
links:
- bitcoind
- postgres
2017-09-28 09:35:29 +02:00
bitcoind:
2017-09-29 09:40:33 +02:00
image: nicolasdorier/docker-bitcoin:0.15.0.1
ports:
- "43782:43782"
- "39388:39388"
2017-09-28 09:35:29 +02:00
environment:
BITCOIN_EXTRA_ARGS: "regtest=1\nrpcport=43782\nport=39388\nwhitelist=0.0.0.0/0"
2017-09-28 09:35:29 +02:00
BITCOIN_RPC_USER: ceiwHEbqWI83
BITCOIN_RPC_PASSWORD: DwubwWsoo3
expose:
2017-09-28 11:49:24 +02:00
- "43782"
- "39388"
2017-09-28 09:35:29 +02:00
postgres:
image: postgres:9.6.5
ports:
- "39372:5432"