3c9fcf6fce
Merge branch 'master' of github.com:lbryio/lbry-docker Starting on a .travis.yml but may be unnecessary Renamed www.spee.ch and lbrynet-daemon to reflect their upstream repos. Disabled Adminer Started debug for chainquery container. Get latest release tagged url from github API remove zip.zip maybe? debugging curl explicit unzip Adding -o for unzip simplified, removed debug and fixed curl reverted to original unzip function Pull chainquery from prep container passing alternative config path Aligned config path location with linux spec updated config location maybe don't be as explicit adding debug for chainqueryconfig.toml Fixes magicless chainquery and starts on bootstrap added chainquery/.gitignore to ignore large blobs. fixed Dockerfile up to use staged prep and production removed db-seed.sh as we have quick-bootstrap.sh start.sh needed modification to pull config from the right location in the linux FS Added chainquery/.dockerignore to prevent extremely long build times in the future Removed fancy bash vars in chainquery/.env Started work on getting quick-bootstrap.sh ready for release. Switch to lbrynet network Switched network name to lbrynet Merge branch 'leopere' of github.com:lbryio/lbry-docker into leopere Remove debugging access port bind Expose chainquery to the internet Merge branch 'leopere' of github.com:lbryio/lbry-docker into leopere Removed now unnecessary run command Undo Cleanup and commenting on environment variables Start getting ready for adding chainquery start.sh magic Quick update
56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
version: '3.4'
|
|
|
|
networks:
|
|
lbrynet:
|
|
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:
|
|
lbrynet:
|
|
ipv4_address: 10.5.1.11
|
|
aliases:
|
|
- mysql
|
|
environment:
|
|
## These variables are stored in the .env file next to this docker-compose.yml file.
|
|
## I will include a default .env file and .gitignore the ".env" pattern so you should be able to just git pull in the future if you need to.
|
|
MYSQL_SERVER: ${MYSQL_SERVER:-10.5.1.11}
|
|
MYSQL_USER: ${MYSQL_USER:-changeme}
|
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-changeme}
|
|
MYSQL_DATABASE: ${MYSQL_DATABASE:-reflector}
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-changeme}
|
|
expose:
|
|
- 3306
|
|
volumes:
|
|
- ./data/db:/var/lib/mysql
|
|
|
|
##################
|
|
## reflector.go ##
|
|
##################
|
|
reflector-go:
|
|
build: .
|
|
restart: always
|
|
networks:
|
|
lbrynet:
|
|
ipv4_address: 10.5.1.20
|
|
environment:
|
|
AWS_ID: ${AWS_ID:-default}
|
|
AWS_SECRET: ${AWS_SECRET:-default}
|
|
BUCKET_REGION: ${BUCKET_REGION:-default}
|
|
BUCKET_NAME: ${BUCKET_NAME:-default}
|
|
DB_USER: ${MYSQL_USER:-changeme}
|
|
DB_PASSWORD: ${MYSQL_PASSWORD:-changeme}
|
|
DB_HOSTIP: ${MYSQL_SERVER:-10.5.1.11}
|
|
DB_PORT: ${DB_PORT:-3306}
|
|
DB_NAME: ${MYSQL_DATABASE:-reflector}
|
|
labels:
|
|
- "traefik.expose=false"
|
|
depends_on:
|
|
- mysql
|