转自: https://blog.csdn.net/qq_28883885/article/details/90605649
IDEA跑Spring boot项目正常,打包war以后放tomcat异常: https://blog.csdn.net/qq_16513911/article/details/90474833
spring boot+maven项目打包成war包部署到tomcat【局域网内访问】: https://blog.csdn.net/k_young1997/article/details/89925400
npm run bulid 打包 vue 项目并在 tomcat 服务器运行: https://blog.csdn.net/weixin_41796631/article/details/89792371
docker部署应用(tomcat、mysql): https://blog.csdn.net/qq_36722039/article/details/89742120
docker配置nginx反向代理实现tomcat互联: https://blog.csdn.net/qq_40605167/article/details/89578353
docker在配置tomcat和spring boot远程调试: https://blog.csdn.net/belvine/article/details/89552524
docker tomcat挂接webapps目录 权限等问题: https://blog.csdn.net/educast/article/details/89486218
docker安装配置tomcat: https://blog.csdn.net/buyaopingbixiazai/article/details/89344211
idea下springboot打包成jar包和war包,并且可以在外部tomcat下运行访问到: https://blog.csdn.net/plpldog/article/details/89340414
超全git+tomcat+jenkins实现自动化构建部署: https://blog.csdn.net/u011456337/article/details/89303647
阿里云安装docker,运行tomcat,mysql镜像: https://blog.csdn.net/qq_34082113/article/details/88778603
tomcat的简单使用及使用idea发布打包: https://blog.csdn.net/qq_40846086/article/details/88733542
springboot+maven+idea打包及部署到tomcat服务器(腾讯云): https://blog.csdn.net/boywcx/article/details/87307667
【实践】Docker for Windows 制作tomcat 镜像并上传至 docker 仓库: https://blog.csdn.net/z69183787/article/details/86747977
linux tomcat指定jdk,并把日志分割进行打包: https://blog.csdn.net/qq_38380025/article/details/86004655
docker tomcat 中文乱码问题解决方案: https://blog.csdn.net/geol200709/article/details/84955746
docker+jenkins+git自动打包部署: https://blog.csdn.net/rentian1/article/details/84500820
docker容器下运行tomcat、部署应用: https://blog.csdn.net/letterss/article/details/84392798
jenkins gitlab maven tomcat实现自动集成、打包、远程部署: https://blog.csdn.net/lj402159806/article/details/83821014
IDEA下springboot打包成jar包和war包,并且可以在外部tomcat下运行访问到: https://blog.csdn.net/u011992073/article/details/84136522
项目中使用的一些基本知识(将mysql、jdk、tomcat打包放在一起供用户使用): https://blog.csdn.net/qq_32444825/article/details/83988812
支持端口转发的tomcat docker镜像: https://blog.csdn.net/qq_30062125/article/details/83827534
ubuntu安装docker,部署tomcat服务: https://blog.csdn.net/shuair/article/details/83271141
vue项目打包部署到tomcat上: https://blog.csdn.net/qq_37164847/article/details/83270364
jenkins构建的war包部署到远程tomcat中: https://blog.csdn.net/fjl19900121/article/details/80901997
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_28883885/article/details/90605649
docker-compose.yml的配置如下
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
将tomcat的放应用的目录和mysql的数据库目录挂载了出来
---------------------
作者:小虎哥的技术博客
来源:CSDN
原文:https://blog.csdn.net/qq_28883885/article/details/90605649
版权声明:本文为博主原创文章,转载请附上博文链接!