docker-compose a simple arrangement of mysql + tomcat application services

Transfer:   https://blog.csdn.net/qq_28883885/article/details/90605649

IDEA project run Spring boot normal, abnormal discharge tomcat package after the WAR:  https://blog.csdn.net/qq_16513911/article/details/90474833

spring boot + maven project packaged into war tomcat deploy the package to access the LAN []:   https://blog.csdn.net/k_young1997/article/details/89925400

npm run bulid packaged vue project and run in the tomcat server:   https://blog.csdn.net/weixin_41796631/article/details/89792371

docker deploy applications (Tomcat, MySQL):  https://blog.csdn.net/qq_36722039/article/details/89742120

docker nginx reverse proxy configuration to achieve tomcat Internet:  https://blog.csdn.net/qq_40605167/article/details/89578353

docker in spring boot configuration and remote debugging tomcat:  https://blog.csdn.net/belvine/article/details/89552524

Mount docker tomcat webapps directory permissions and other issues:   https://blog.csdn.net/educast/article/details/89486218

docker installation configuration Tomcat:  https://blog.csdn.net/buyaopingbixiazai/article/details/89344211

the idea springboot packaged into packets and war package jar, and can access to the external operation tomcat:  https://blog.csdn.net/plpldog/article/details/89340414

Super full git + tomcat + jenkins automate build deployment:  https://blog.csdn.net/u011456337/article/details/89303647

Ali cloud installation docker, running tomcat, mysql Mirror:  https://blog.csdn.net/qq_34082113/article/details/88778603

tomcat simple to use and packed using the idea Published:  https://blog.csdn.net/qq_40846086/article/details/88733542

springboot + maven + idea packaged and deployed to the tomcat server (Tencent cloud):   https://blog.csdn.net/boywcx/article/details/87307667

[Practice] Docker for Windows make tomcat image and upload it to docker warehouse:  https://blog.csdn.net/z69183787/article/details/86747977

linux tomcat specify jdk, and split the logs to package:  https://blog.csdn.net/qq_38380025/article/details/86004655

docker tomcat Chinese garbled solution to the problem:  https://blog.csdn.net/geol200709/article/details/84955746

docker + jenkins + git automatically packaged deployment:  https://blog.csdn.net/rentian1/article/details/84500820

tomcat run under docker container, deploy applications:  https://blog.csdn.net/letterss/article/details/84392798

jenkins gitlab maven tomcat automatically integrated, packaged, remote deployment:  https://blog.csdn.net/lj402159806/article/details/83821014

Springboot packaged into jar package and war package, and may run at an external access to the tomcat IDEA:  https://blog.csdn.net/u011992073/article/details/84136522

Some basic knowledge used in the project (the mysql, jdk, tomcat package put together for users):  https://blog.csdn.net/qq_32444825/article/details/83988812

Supports port forwarding tomcat docker Mirror:  https://blog.csdn.net/qq_30062125/article/details/83827534

ubuntu install docker, deploy tomcat service:  https://blog.csdn.net/shuair/article/details/83271141

vue project package to be deployed on tomcat:  https://blog.csdn.net/qq_37164847/article/details/83270364

jenkins deploy the package to build a war in a remote tomcat:  https://blog.csdn.net/fjl19900121/article/details/80901997

 

 

 

 

 

 Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_28883885/article/details/90605649
Docker-compose.yml configured as follows

version: '3.3'
services:
  myweb:
    restart: always
    image: tomcat
    container_name: myweb
    ports:
      - 8888:8080
    volumes:
      - ./tomcat/webapps:/usr/local/tomcat/webapps
      - ./tomcat/logs:/usr/local/tomcat/logs
  mysql:
    restart: always
    image: mysql
    container_name: mysql
    ports:
      - 3310:3306
    environment:
      TZ: Asia/Shanghai
      MYSQL_ROOT_PASSWORD: 123456
    command:
      --default-authentication-plugin=mysql_native_password
      --character-set-server=utf8mb4
      --collation-server=utf8mb4_general_ci
      --explicit_defaults_for_timestamp=true
      --lower_case_table_names=1
      --max_allowed_packet=128M
    volumes:
      - ./mysql/data:/var/lib/mysql
      - ./mysql/conf/my.cnf:/etc/my.cnf
      - ./mysql/init:/docker-entrypoint-initdb.d/
      - ./mysql/logs:/var/log/mysql


The directory and put the mysql database directory of tomcat applications mount out
--------------------- 
Author: small technology blog Huge 
Source: CSDN 
Original: https : //blog.csdn.net/qq_28883885/article/details/90605649 
Disclaimer: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin blog.csdn.net/qq_36688928/article/details/93166263