2019-11-27 16:18:39 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
lbrycrd:
|
|
|
|
wallet_server:
|
2021-02-12 01:45:41 +01:00
|
|
|
es01:
|
2019-11-27 16:18:39 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
lbrycrd:
|
|
|
|
image: lbry/lbrycrd:${LBRYCRD_TAG:-latest-release}
|
|
|
|
restart: always
|
|
|
|
ports: # accessible from host
|
|
|
|
- "9246:9246" # rpc port
|
|
|
|
expose: # internal to docker network. also this doesn't do anything. its for documentation only.
|
|
|
|
- "9245" # node-to-node comms port
|
|
|
|
volumes:
|
|
|
|
- "lbrycrd:/data/.lbrycrd"
|
|
|
|
environment:
|
|
|
|
- RUN_MODE=default
|
2020-09-28 20:29:41 +02:00
|
|
|
# Curently not snapshot provided
|
|
|
|
#- SNAPSHOT_URL=${LBRYCRD_SNAPSHOT_URL-https://lbry.com/snapshot/blockchain}
|
2019-11-27 16:18:39 +01:00
|
|
|
- RPC_ALLOW_IP=0.0.0.0/0
|
|
|
|
wallet_server:
|
|
|
|
image: lbry/wallet-server:${WALLET_SERVER_TAG:-latest-release}
|
|
|
|
depends_on:
|
|
|
|
- lbrycrd
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "50001:50001" # rpc port
|
|
|
|
- "50005:50005" # websocket port
|
2020-01-27 19:55:44 +01:00
|
|
|
#- "2112:2112" # uncomment to enable prometheus
|
2019-11-27 16:18:39 +01:00
|
|
|
volumes:
|
|
|
|
- "wallet_server:/database"
|
|
|
|
environment:
|
2020-09-28 20:29:41 +02:00
|
|
|
# Curently not snapshot provided
|
|
|
|
# - SNAPSHOT_URL=${WALLET_SERVER_SNAPSHOT_URL-https://lbry.com/snapshot/wallet}
|
2019-11-27 16:18:39 +01:00
|
|
|
- DAEMON_URL=http://lbry:lbry@lbrycrd:9245
|
2021-02-12 01:45:41 +01:00
|
|
|
es01:
|
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0
|
|
|
|
container_name: es01
|
|
|
|
environment:
|
|
|
|
- node.name=es01
|
|
|
|
- discovery.type=single-node
|
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
volumes:
|
|
|
|
- es01:/usr/share/elasticsearch/data
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:9200:9200
|