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.
This commit is contained in:
Leopere 2018-10-02 16:53:07 -04:00
parent 8519982037
commit aebce8bfc2

View file

@ -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