may88seiji
9/5/2017 - 5:04 AM

Docker

Docker

hostsの設定

dockerを起動する

$ docker-machine start $ eval $(docker-machine env) $ make build $ make start

sql反映

$ docker exec -it yokanavi_mysql bash $ mysql -u yokanavi -p yokanavi < yokanavi.latest.sql

docker-compose.yml 参照

  WP_DB_NAME: yokanavi
  WP_DB_USER: yokanavi
  WP_DB_PASSWORD: 3030