Slight reorganization

This commit is contained in:
Leopere 2018-10-03 14:27:13 -04:00
parent 7529518a23
commit 681becc7bf

View file

@ -26,6 +26,11 @@ services:
mysql: mysql:
image: mariadb image: mariadb
restart: always restart: always
networks:
lbrynet:
ipv4_address: 10.10.0.10
aliases:
- mysql
environment: environment:
## These variables are stored in the .env file next to this docker-compose.yml file. ## 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. ## 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.
@ -38,8 +43,3 @@ services:
- 3306 - 3306
volumes: volumes:
- ./data/db:/var/lib/mysql - ./data/db:/var/lib/mysql
networks:
green:
ipv4_address: 10.10.0.10
aliases:
- mysql