Public Repository

Last pushed: 4 months ago
Short Description
mySpringBoot
Full Description
  • run MYSQL
    sudo docker run -name basic-mysql -e MYSQL_ROOT_PASSWORD=root_password -e MYSQL_DATABASE=personal -e MYSQL_USER=personal -e MYSQL_PASSWORD=user_password -p 3307:3306 mysql:latest

  • MYSQL LOG
    sudo docker logs basic-mysql

  • run SPRING BOOT
    sudo docker run -name spring-boot-docker --link basic-mysql:mysql -p 9095:9095 -e DATABASE_HOST=basic-mysql -e DATABASE_PORT=3306 -e DATABASE_NAME=personal -e DATABASE_USER=personal -e DATABASE_PASSWORD=user_password qhdrl12/springboot

  • SPRINGBOOT LOG
    sudo docker logs spring-boot-docker

Docker Pull Command
Owner
qhdrl12

Comments (0)