lbry-docker/lbrycrd/docker-compose.yml
Leopere a4b2cd323c Adding user definition in compose
Looking to fix an issue where the default directories are owned by the incorrect user.
2018-10-02 17:44:12 -04:00

26 lines
468 B
YAML

version: '3.4'
networks:
lbrynet:
external: true
services:
#############
## Lbrycrd ##
#############
lbrycrd:
build: .
restart: always
networks:
lbrynet:
ipv4_address: 10.10.0.3
labels:
- "traefik.expose=false"
user: "${UID:-1000}:${GID:-1000}"
expose:
- 9245
- 9246
## host volumes for persistent data such as wallet private keys.
volumes:
- ./data/:/data
- ./config:/etc/lbrycrdd