Skip to content

Latest commit

 

History

History

Local

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Local

It is a simple docker-compose.yml file useful for local usage. You can centralize local services.

For more information about docker-compose, refer to Docker to the Point - Part 2

Exec Steps

  • Copy docker-compose.yml file
  • docker network create mynet
  • docker-compose up -d [SERVICE1 SERVICE2 ...]

MySQL

  • docker-compose up -d mysql
  • Import Sakila dataset
    • docker-compose exec mysql bash -c "mysql -uroot -proot < /mysql-exp-imp/sakila/sakila-schema.sql"
    • docker-compose exec mysql bash -c "mysql -uroot -proot < /mysql-exp-imp/sakila/sakila-data.sql"