From 0be5ccbc58a9371b37b43d02ba7b1cffd7b74766 Mon Sep 17 00:00:00 2001 From: Leopere Date: Tue, 2 Oct 2018 16:53:07 -0400 Subject: [PATCH] Adding lbrycrd docker-compose.yml This will spin up a lbrycrdd instance based off of the neighboring Dockerfile The instance will be prepared to be part of a cluster using an external, to the container, network. The label is to ensure that if there is a Traefik reverse proxy available on the docker host that it won't be exposed publicly. --- lbrycrd/docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lbrycrd/docker-compose.yml diff --git a/lbrycrd/docker-compose.yml b/lbrycrd/docker-compose.yml new file mode 100644 index 0000000..251b266 --- /dev/null +++ b/lbrycrd/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.4' + +networks: + traefik: + external: true + +services: +############# +## Lbrycrd ## +############# + lbrycrd: + build: . + restart: always + networks: + traefik: + ipv4_address: 10.5.0.1 + labels: + - "traefik.expose=false" + expose: + - 9245 + - 9246 + ## host volumes for persistent data such as wallet private keys. + volumes: + - ./data/:/data + - ./config:/etc/lbrycrdd