lbry-docker/lbrycrd/docker-compose.yml
Leopere aebce8bfc2 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.
2018-10-02 16:53:07 -04:00

25 lines
429 B
YAML

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