lbry-docker/lbrynet/docker-compose.yml

28 lines
618 B
YAML
Raw Normal View History

version: '3.4'
2018-10-02 22:54:18 +02:00
networks:
2018-11-29 20:23:34 +01:00
lbry-network:
2018-10-02 22:54:18 +02:00
external: true
services:
#############
## Lbrynet ##
#############
lbrynet:
build: .
restart: always
## TODO: Does this container ever need a static network address or is it better to be dynamic?
2018-10-02 22:54:18 +02:00
networks:
# lbrynet:
2018-11-29 20:09:05 +01:00
# ipv4_address: 10.6.1.4
2018-11-29 20:23:34 +01:00
- lbry-network
2018-10-02 22:54:18 +02:00
labels:
- "traefik.expose=false"
## TODO: Verify the need for the following port binds on host networking.
ports:
- 4444:4444
- 50001:50001
## host volumes for persistent data such as wallet private keys.
volumes:
2018-11-29 20:23:34 +01:00
- ./data:/lbrynet