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:
parent
08f2337f5f
commit
0be5ccbc58
1 changed files with 25 additions and 0 deletions
25
lbrycrd/docker-compose.yml
Normal file
25
lbrycrd/docker-compose.yml
Normal 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
|
Loading…
Add table
Reference in a new issue