lbry-sdk/docker/docker-compose-wallet-server.yml

50 lines
1.4 KiB
YAML
Raw Permalink Normal View History

version: "3"
volumes:
wallet_server:
2021-02-12 01:45:41 +01:00
es01:
services:
wallet_server:
2021-02-26 22:26:24 +01:00
depends_on:
- es01
2021-03-24 09:35:31 +01:00
image: lbry/wallet-server:${WALLET_SERVER_TAG:-latest-release}
restart: always
2021-02-26 22:26:24 +01:00
network_mode: host
ports:
- "50001:50001" # rpc port
2021-02-26 22:26:24 +01:00
- "2112:2112" # uncomment to enable prometheus
volumes:
- "wallet_server:/database"
environment:
2021-02-26 22:26:24 +01:00
- DAEMON_URL=http://lbry:lbry@127.0.0.1:9245
2021-10-20 00:16:56 +02:00
- MAX_QUERY_WORKERS=4
- CACHE_MB=1024
- CACHE_ALL_TX_HASHES=
- CACHE_ALL_CLAIM_TXOS=
- MAX_SEND=1000000000000000000
- MAX_RECEIVE=1000000000000000000
- MAX_SESSIONS=100000
- HOST=0.0.0.0
2021-02-26 22:26:24 +01:00
- TCP_PORT=50001
- PROMETHEUS_PORT=2112
- FILTERING_CHANNEL_IDS=770bd7ecba84fd2f7607fb15aedd2b172c2e153f 95e5db68a3101df19763f3a5182e4b12ba393ee8
2021-10-20 00:16:56 +02:00
- BLOCKING_CHANNEL_IDS=dd687b357950f6f271999971f43c785e8067c3a9 06871aa438032244202840ec59a469b303257cad b4a2528f436eca1bf3bf3e10ff3f98c57bd6c4c6
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
- indices.query.bool.max_clause_count=8192
2021-02-12 01:45:41 +01:00
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms4g -Xmx4g" # no more than 32, remember to disable swap
2021-02-12 01:45:41 +01:00
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es01:/usr/share/elasticsearch/data
ports:
- 127.0.0.1:9200:9200