93ea84bb81
Renamed to fit with new nomenclature Removed directory and renamed/moved Dockerfile Updated COPY path Moved docker-compose.yml for Lbrynet Cleaned up comments a bit Important notice to users in new comment Updated compose example for image instead of build updated paths Added a step for chainquery-bootstrap setup Moved and updated lbrycrd's env_file Created lbrynet env_file Moved and updated chainquery's env_file Moved and updated lbrynet's compose file More Cleanup Added TODO's for checkmount.sh Renamed compiler Renamed production container Final rename fixup fixup Updated README refs Just readability improvements Packing directories with the repo Git won't track empty directories but if you take the path of running these containers locally from within this repo you should have this directory. Updated image refs to final production locations
56 lines
1.4 KiB
Text
56 lines
1.4 KiB
Text
version: '3.4'
|
|
|
|
networks:
|
|
lbry-network:
|
|
external: true
|
|
|
|
services:
|
|
###########
|
|
## MYSQL ##
|
|
###########
|
|
## MariaDB is currently not supported and neither is later versions of MySQL this may change.
|
|
## https://hub.docker.com/r/_/mariadb/
|
|
mysql:
|
|
image: mysql:5.7.23
|
|
restart: always
|
|
networks:
|
|
lbry-network:
|
|
ipv4_address: 10.6.1.10
|
|
aliases:
|
|
- mysql
|
|
env_file:
|
|
- ../environment/chainquery.env
|
|
expose:
|
|
- 3306
|
|
## TODO: I want to find a way that is acceptable to everyone to lock this up
|
|
## and not share it with everyone at least eventually.
|
|
ports:
|
|
- 3306:3306
|
|
volumes:
|
|
- ../persist/chainquery/db:/var/lib/mysql
|
|
## This one may need to be tweaked based on where you run this docker-compose from.
|
|
- ../stuff/my.cnf:/etc/mysql/conf.d/chainquery-optimizations.cnf
|
|
|
|
################
|
|
## Chainquery ##
|
|
################
|
|
chainquery:
|
|
image: lbryio/lbry-docker:linux-x86_64-production
|
|
restart: always
|
|
networks:
|
|
lbry-network:
|
|
ipv4_address: 10.6.1.3
|
|
env_file:
|
|
- env
|
|
- ../environment/lbrycrd.env
|
|
labels:
|
|
- "traefik.expose=false"
|
|
expose:
|
|
- 6300
|
|
ports:
|
|
- 6300:6300
|
|
depends_on:
|
|
- mysql
|
|
## TODO: Uncomment this in a docker-compose.override.yml to allow for external configurations.
|
|
volumes:
|
|
- ../persist/chainquery/config/chainqueryconfig.toml:/etc/chainquery/chainqueryconfig.toml
|