基于docker的tomcat服务化
tomcat作为web容器被广泛应用,但作者所在的公司restful接口特别多,每个接口都需要一个tomcat来启动,为了配置隔离,一般都会把tomcat安装文件复制多遍,分别把war包部署在对应的webapp目录下,但这样造成的问题就是tomcat安装文件占用了大量的磁盘空间,且不便于统一管理。比如要修改tomcat的某个配置,那么对应的所有的tomcat目录都要修改一遍。
基于上述情况,作者设计了一种基于docker的tomcat服务化方案。
docker不再介绍,tomcat不再介绍,下面仅仅介绍服务化方案。先上架构图
aaarticlea/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAHSAWcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2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QJndkZAxjt9KHVauCpp/wBfic26PGQHVlJAIBGODyDTa09VhY+TcB4SnkRIQJkLBggBBXO4YIPasytYyurmclZhRRRVEhXdeAv9Rcf9dP6CuFruvAX+ouP+un9BXLjP4R1YT+KdvRRRXinrhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFeY+Nf+Q+3/XMV6dXmPjX/kPt/wBcxXXgv4py4z+Ec5RRRXsnkBRRRQAU5ZHRWVXZQ4wwBxuHXB/IU2ikAUUUUwCiiigAooooAK7rwF/qLj/rp/QVwtd14C/1Fx/10/oK5cZ/COrCfxTt6KKK8U9cKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArzHxr/wAh9v8ArmK9OrzHxr/yH2/65iuvBfxTlxn8I5yiiivZPICiiigAooooAKKKKACiiigAooooAK7rwF/qLj/rp/QVwtd14C/1Fx/10/oK5cZ/COrCfxTt6KKK8U9cKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArzHxr/wAh9v8ArmK9OrlfEvh5dSk89SUlAxuAz+ddGFmoVLs58TBzp2R5xRWlc6Ff2xP7reo7oaoPFJEcSRsh9GGK9mM4y2Z5EoSjuhlFFFWSFFFFABRRRQAUUUUAFFFSxW083+qhd/8AdUmk2luNJvYiruvAX+ouP+un9BXO2nhy9uGHmARL78mu88PaSmmQFUB5OST1JrhxdWDhypnbhaU1PmaN2iiivKPTCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKQqGGCKWigCrJZRSdVqpJo8bdgfqK1aKpTaJcUzmpfDNs+c28Rz3281Sk8IWhJ/cY+jEV2VJgVoq81syHRg90cO/g63PRJF+jVH/wh0PrL+dd5gUbR6Vf1mp3I+rQ7HAjwbFn78x/Ef4U4eDofWX867zavpRtHpR9aqdw+rQ7HEL4Ptu8bn6sasReErRTn7OP+BEmuvwKMCpeIm+o1h4Loc9D4ct4zlYIlPqFFXo9JjXrWpRUOpJmipxRWjs4o+iirAAA4paKhtspJIKKKKQwooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD/9kA" alt="" />
通过上图可以发现,该方案有几个特点
1、Nginx做转发。接口对外IP、端口统一
2、tomcat配置统一。因为都是基于相同的image,当然也可以每个container不一样。
当然有几点需要注意:
1、tomcat的logs/webapp需要通过volume映射挂在到container中去
2、每个tomcat服务的数据库链接配置成域名形式。这样测试、生产不需要该jdbc链接
3、保持tomcat的logs和webapp对当前用户可读写
4、对dockerHub上面的tomcat的Dockerfile进行扩展
扩展的dockerfile如下:
FROM tomcat:8.5.29 MAINTAINER wushaojie COPY ./userconfig/* $CATALINA_HOME/conf/ ENV USER=tomcat USER_ID=1000 USER_GID=1000 RUN groupadd --gid "${USER_GID}" "${USER}" && \
useradd \
--uid ${USER_ID} \
--gid ${USER_GID} \
--create-home \
--shell /bin/bash \
${USER} # RUN chown -R $USER:$USER ${CATALINA_HOME} RUN set -ex; \
rm -rf $CATALINA_HOME/webapps/* \
rm -f $CATALINA_HOME/conf/tomcat-users.* \
if [ -f $CATALINA_HOME/conf/hosts ] then \
cat $CATALINA_HOME/conf/hosts >> /etc/hosts \
fi; \
mv $CATALINA_HOME/conf/*.sh $CATALINA_HOME/bin RUN chmod u+x $CATALINA_HOME/bin/user-mapping.sh #ENTRYPOINT ["user-mapping.sh"]
CMD ["user-mapping.sh"]
其中user-mapping.sh代码如下 :
#!/bin/bash if [ -z "${USER}" ]; then
echo "We need USER to be set!"; exit
fi # if both not set we do not need to do anything
if [ -z "${HOST_USER_ID}" -a -z "${HOST_USER_GID}" ]; then
echo "Nothing to do here." ; exit
fi # reset user_?id to either new id or if empty old (still one of above
# might not be set)
USER_ID=${HOST_USER_ID:=$USER_ID}
USER_GID=${HOST_USER_GID:=$USER_GID} LINE=$(grep -F "${USER}" /etc/passwd)
# replace all ':' with a space and create array
array=( ${LINE//:/ } ) # home is 5th element
USER_HOME=${array[]} sed -i -e "s/^${USER}:\([^:]*\):[0-9]*:[0-9]*/${USER}:\1:${USER_ID}:${USER_GID}/" /etc/passwd
sed -i -e "s/^${USER}:\([^:]*\):[0-9]*/${USER}:\1:${USER_GID}/" /etc/group chown -R ${USER_ID}:${USER_GID} ${USER_HOME}
chown -R ${USER_ID}:${USER_GID} $CATALINA_HOME
#exec su - "${USER}"
exec su "${USER}" -c "$CATALINA_HOME/bin/catalina.sh run"
基于docker的tomcat服务化的更多相关文章
- docker初识-docker安装、基于docker安装mysql及tomcat、基本命令
一.docker是什么 用go语言开发,开源的应用容器引擎,容器性能开销极低 二.整体架构图 Docker 包括三个基本概念: 镜像(Image):Docker 镜像(Image),就相当于是一个 r ...
- docker安装tomcat&部署javaweb程序
一.docker定制简单的java-web应用镜像 网址: 1.jdk下载网址:https://www.oracle.com/technetwork/java/javase/downloads/jdk ...
- 基于 Docker 的微服务架构实践
本文来自作者 未闻 在 GitChat 分享的{基于 Docker 的微服务架构实践} 前言 基于 Docker 的容器技术是在2015年的时候开始接触的,两年多的时间,作为一名 Docker 的 D ...
- 【原创】基于Docker的CaaS容器云平台架构设计及市场分析
基于Docker的CaaS容器云平台架构设计及市场分析 ---转载请注明出处,多谢!--- 1 项目背景---概述: “在移动互联网时代,企业需要寻找新的软件交付流程和IT架构,从而实现架构平台化,交 ...
- DevOps实践之一:基于Docker构建企业Jenkins CI平台
基于Docker构建企业Jenkins CI平台 一.什么是CI 持续集成(Continuous integration)是一种软件开发实践,每次集成都通过自动化的构建(包括编译,发布,自动化测试)来 ...
- 基于Docker的服务器搭建
-----------基于Docker的多种服务器搭建----------- 开发环境 本机上的虚拟机 Centos7.4 Docker1.13.1 Openssl1.1.1 1 Nginx 1.1 ...
- 分布式任务调度系统xxl-job搭建(基于docker)
一.简介 XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是开发迅速.学习简单.轻量级.易扩展.现已开放源代码并接入多家公司线上产品线,开箱即用. 更多介绍,请访问官网: http://w ...
- 基于Docker持续交付平台建设的实践
导读:中国五矿和阿里巴巴联手打造的钢铁服务专业平台五阿哥,通过集结阿里巴巴在大数据.电商平台和互联网产品技术上的优势,为终端用户带来一站式采购体验.本文是五阿哥运维技术团队针对Docker容器技术在如 ...
- QCon技术干货:个推基于Docker和Kubernetes的微服务实践
2016年伊始,Docker无比兴盛,如今Kubernetes万人瞩目.在这个无比需要创新与速度的时代,由容器.微服务.DevOps构成的云原生席卷整个IT界.在近期举办的QCon全球软件开发大会上, ...
随机推荐
- Python学习-字符串函数操作1
字符串的函数操作 capitalize():可以将字符串首字母变为大写 返回值:首字符大写后的新字符串 str = "liu" print(str.capitalize()); / ...
- 首次开通blog,以后会慢慢把oneNote和印象笔记的笔记转过来
之前一直都是把笔记和经验写到OneNote上面,终于,OneNote无法同步了,转战blog吧,在这上面写一些笔记和一些技术,有空可以慢慢回顾一下.笔记这种东西,过一段时间再看就会有不同的感悟.
- PAT 1142 Maximal Clique
A clique is a subset of vertices of an undirected graph such that every two distinct vertices in the ...
- [spoj1182][Sorted Bit Sequence] (数位dp)
Description Let's consider the 32 bit representation of all integers i from m up to n inclusive (m ≤ ...
- dstat系统分析工具的使用
1.安装 方法一:yum #yum install -y dstat 方法二:rpm 官网下载地址: http://dag.wieers.com/rpm/packages/dstat #wget ht ...
- Ajax_数据格式_XML
[XML] 优点: --XML是一种通用的数据格式. --不必把数据强加到已经定义好的格式中,而是要为数据自定义合适的标记. --利用DOM可以完全掌控文档. 缺点: --如果文档来自于服务器,就必须 ...
- 【驱动开发】file_operations ---linux 2.6.30
路径: linux-2.6.30/include/linux/fs.h struct file_operations { struct module *owner; loff_t ...
- kendo grid dropdownlist 联动 cascading
之前是无法联动的 后来将html页面中的 //$('<input required data-text-field="CompanyName" data-value-fiel ...
- Mutual Training for Wannafly Union #6
A =w= B QvQ C 题意:有长度为n的序列(n<=5e5),求满足条件的a,b,c,d的组数,要求满足条件:min([a,b])<=min([c,d]),a<=b<c& ...
- gh-ost: triggerless online schema migrations:Blog by Shlomi Noach:
http://code.openark.org/blog/category/mysql https://rj03hou.github.io/mysql/gh-ost/