2020-08-14 05:38:33 +02:00
|
|
|
version: "3.8"
|
|
|
|
volumes:
|
|
|
|
lbrycrd-data:
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres:12
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: lbry
|
|
|
|
POSTGRES_PASSWORD: lbry
|
|
|
|
lbrycrd:
|
|
|
|
image: lbry/lbrycrd
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.lbrycrd
|
|
|
|
volumes:
|
|
|
|
- lbrycrd-data:/root/.lbrycrd
|
|
|
|
command: >
|
|
|
|
-rpcbind=lbrycrd
|
|
|
|
-rpcallowip=0.0.0.0/0
|
|
|
|
-rpcuser=lbryuser
|
|
|
|
-rpcpassword=lbrypass
|
2020-08-14 06:29:51 +02:00
|
|
|
-zmqpubhashblock=tcp://lbrycrd:29000
|
2020-08-14 05:38:33 +02:00
|
|
|
lbrynet:
|
|
|
|
image: lbry/lbrynet:fast_wallet_server_sync
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- lbrycrd
|
|
|
|
volumes:
|
|
|
|
- lbrycrd-data:/lbrycrd
|
|
|
|
command: >
|
|
|
|
start
|
|
|
|
--full-node
|
|
|
|
--api=0.0.0.0:5279
|
|
|
|
--db-url=postgresql://lbry:lbry@postgres:5432/lbry
|
|
|
|
--workers=12
|
|
|
|
--console=basic
|
|
|
|
--no-spv-address-filters
|
|
|
|
--lbrycrd-rpc-host=lbrycrd
|
|
|
|
--lbrycrd-rpc-user=lbryuser
|
|
|
|
--lbrycrd-rpc-pass=lbrypass
|
|
|
|
--lbrycrd-dir=/lbrycrd
|