add lbcd to all-in-one docker-compose

This commit is contained in:
Jack Robison 2022-05-04 11:00:24 -04:00
parent 5a0af081e6
commit 7f277dda2f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -7,6 +7,7 @@ volumes:
services: services:
scribe: scribe:
depends_on: depends_on:
- lbcd
- scribe_elastic_sync - scribe_elastic_sync
image: lbry/scribe:${SCRIBE_TAG:-latest-release} image: lbry/scribe:${SCRIBE_TAG:-latest-release}
restart: always restart: always
@ -39,6 +40,7 @@ services:
#- ELASTIC_NOTIFIER_PORT=19080 #- ELASTIC_NOTIFIER_PORT=19080
scribe_hub: scribe_hub:
depends_on: depends_on:
- lbcd
- scribe_elastic_sync - scribe_elastic_sync
- scribe - scribe
image: lbry/scribe:${SCRIBE_TAG:-latest-release} image: lbry/scribe:${SCRIBE_TAG:-latest-release}
@ -80,3 +82,17 @@ services:
- "es01:/usr/share/elasticsearch/data" - "es01:/usr/share/elasticsearch/data"
ports: ports:
- "127.0.0.1:9200:9200" - "127.0.0.1:9200:9200"
lbcd:
image: lbry/lbcd:latest
restart: always
network_mode: host
command:
- "--notls"
- "--listen=0.0.0.0:9246"
- "--rpclisten=127.0.0.1:9245"
- "--rpcuser=lbry"
- "--rpcpass=lbry"
volumes:
- "lbcd:/root/.lbcd"
ports:
- "9246:9246" # p2p