From ea639e64a410661bc7e9c1032ad9dad0f0fff3b5 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 27 Nov 2019 10:18:39 -0500 Subject: [PATCH] add docker-compose file for wallet server --- docker/docker-compose-wallet-server.yml | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker/docker-compose-wallet-server.yml diff --git a/docker/docker-compose-wallet-server.yml b/docker/docker-compose-wallet-server.yml new file mode 100644 index 000000000..60bfccef8 --- /dev/null +++ b/docker/docker-compose-wallet-server.yml @@ -0,0 +1,33 @@ +version: "3" + +volumes: + lbrycrd: + wallet_server: + +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 + - SNAPSHOT_URL=${LBRYCRD_SNAPSHOT_URL-https://lbry.com/snapshot/blockchain} + - 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 + volumes: + - "wallet_server:/database" + environment: + - SNAPSHOT_URL=${WALLET_SERVER_SNAPSHOT_URL-https://lbry.com/snapshot/wallet} + - DAEMON_URL=http://lbry:lbry@lbrycrd:9245