Files
nigiri/cli/resources/docker-compose-regtest.yml
altafan 495f6f1115 refactor:
* remove init command
* add use of docker volumes
* pull images from docker hub
* create start stop delete commands
* add resources folder
2019-04-05 14:27:09 +02:00

50 lines
948 B
YAML

version: '3'
services:
bitcoin:
image: vulpemventures/bitcoin:latest
networks:
local:
ipv4_address: 10.10.0.10
ports:
- 19001:19001
volumes:
- ./volumes/regtest/config/:/config
electrs:
image: vulpemventures/electrs:latest
entrypoint:
- /build/electrs
command:
- -vvvv
- --network
- regtest
- --daemon-dir
- /config
- --daemon-rpc-addr
- 10.10.0.10:19001
- --cookie
- admin1:123
- --http-addr
- 0.0.0.0:3002
networks:
local:
ipv4_address: 10.10.0.12
ports:
- 3002:3002
volumes:
- ./volumes/regtest/config/:/config
# chopsticks:
# build:
# context: chopsticks/
# dockerfile: Dockerfile
# ports:
# - 3000:3000
# networks:
# local:
# ipv4_address: 10.10.0.13
networks:
local:
driver: bridge
ipam:
config:
- subnet: 10.10.0.0/24