hub/docs/docker_examples/hub-compose.yml

60 lines
2.3 KiB
YAML
Raw Normal View History

version: "3"
volumes:
lbry_rocksdb:
services:
scribe:
depends_on:
- scribe_elastic_sync
image: lbry/hub:${SCRIBE_TAG:-master}
restart: always
network_mode: host
volumes:
- "lbry_rocksdb:/database"
2022-05-04 21:24:47 +02:00
environment:
- HUB_COMMAND=scribe
2023-01-07 02:30:36 +01:00
- SNAPSHOT_URL=https://snapshots.lbry.com/hub/block_1288882/lbry-rocksdb.tar
2022-05-04 21:24:47 +02:00
command:
- "--daemon_url=http://lbry:lbry@127.0.0.1:9245"
- "--max_query_workers=2"
scribe_elastic_sync:
image: lbry/hub:${SCRIBE_TAG:-master}
restart: always
network_mode: host
ports:
- "127.0.0.1:19080:19080" # elastic notifier port
volumes:
- "lbry_rocksdb:/database"
2022-05-04 21:24:47 +02:00
environment:
- HUB_COMMAND=scribe-elastic-sync
2022-11-09 16:27:44 +01:00
- FILTERING_CHANNEL_IDS=770bd7ecba84fd2f7607fb15aedd2b172c2e153f 95e5db68a3101df19763f3a5182e4b12ba393ee8 d4612c256a44fc025c37a875751415299b1f8220
- BLOCKING_CHANNEL_IDS=dd687b357950f6f271999971f43c785e8067c3a9 06871aa438032244202840ec59a469b303257cad b4a2528f436eca1bf3bf3e10ff3f98c57bd6c4c6 145265bd234b7c9c28dfc6857d878cca402dda94 22335fbb132eee86d374b613875bf88bec83492f f665b89b999f411aa5def311bb2eb385778d49c8
2022-05-04 21:24:47 +02:00
command:
- "--elastic_host=127.0.0.1"
- "--elastic_port=9200"
- "--max_query_workers=2"
2022-05-18 19:09:42 +02:00
herald:
depends_on:
- scribe_elastic_sync
- scribe
image: lbry/hub:${SCRIBE_TAG:-master}
restart: always
network_mode: host
ports:
- "50001:50001" # electrum rpc port and udp ping port
- "2112:2112" # comment out to disable prometheus metrics
volumes:
- "lbry_rocksdb:/database"
2022-05-04 21:24:47 +02:00
environment:
2022-05-18 19:09:42 +02:00
- HUB_COMMAND=herald
2022-11-09 16:27:44 +01:00
- FILTERING_CHANNEL_IDS=770bd7ecba84fd2f7607fb15aedd2b172c2e153f 95e5db68a3101df19763f3a5182e4b12ba393ee8 d4612c256a44fc025c37a875751415299b1f8220
- BLOCKING_CHANNEL_IDS=dd687b357950f6f271999971f43c785e8067c3a9 06871aa438032244202840ec59a469b303257cad b4a2528f436eca1bf3bf3e10ff3f98c57bd6c4c6 145265bd234b7c9c28dfc6857d878cca402dda94 22335fbb132eee86d374b613875bf88bec83492f f665b89b999f411aa5def311bb2eb385778d49c8
2022-05-04 21:24:47 +02:00
command:
- "--daemon_url=http://lbry:lbry@127.0.0.1:9245"
2022-11-09 16:27:44 +01:00
- "--elastic_services=127.0.0.1:9200/127.0.0.1:19080"
2022-05-04 21:24:47 +02:00
- "--max_query_workers=4"
- "--host=0.0.0.0"
- "--max_sessions=100000"
2022-05-04 22:52:07 +02:00
- "--prometheus_port=2112" # comment out to disable prometheus metrics