zoukankan      html  css  js  c++  java
  • docker部署pinpoint

    pinpoint-collector部署

      Dockerfile

    FROM    tomcat8:jdk8
    MAINTAINER      limugen<limugen@uce.cn>
    ENV     APP_HOME=/uc/apps
    ENV     PROJECT=pinpoint-collector
    RUN     mkdir -p ${APP_HOME}/${PROJECT}
    ADD     pinpoint-collector ${APP_HOME}/${PROJECT}/
    RUN     ln -s ${APP_HOME}/${PROJECT} ${TOMCAT_HOME}/webapps/${PROJECT}
    ADD     conf/pinpoint-collector/hbase.properties        ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-collector/pinpoint-collector.properties   ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-collector/log4j.xml       ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    

      docker build -t pinpoint-collector:test_9021 .

      docker run -d -p 9021:8080 pinpoint-collector:test_9021

    pinpoint-web部署

      Dockerfile

    FROM    tomcat8:jdk8
    MAINTAINER      limugen<limugen@uce.cn>
    ENV     APP_HOME=/uc/apps
    ENV     PROJECT=pinpoint-web
    RUN     mkdir -p ${APP_HOME}/${PROJECT}
    ADD     ${PROJECT} ${APP_HOME}/${PROJECT}/
    RUN     ln -s ${APP_HOME}/${PROJECT} ${TOMCAT_HOME}/webapps/${PROJECT}
    ADD     conf/pinpoint-web/hbase.properties      ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-web/batch.properties      ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-web/jdbc.properties       ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-web/log4j.xml     ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-web/pinpoint-web.properties       ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    ADD     conf/pinpoint-web/project.properties    ${APP_HOME}/${PROJECT}/WEB-INF/classes/
    

      docker build -t pinpoint-web:test_9022 .

      docker run -d -p 9022:8080  pinpoint-web:test_9022

      

    每天更新一点点,温习一点点点,进步一点点
  • 相关阅读:
    mysql集群架构
    mysql数据库版本不同所引起的问题
    linux下mysql安装
    windows下mysql的安装
    JMeter操作mysql
    Tomcat 配置下载服务器
    JMeter接口测试——关联
    JMeter接口测试——断言
    JMeter接口测试——参数化(从文件中读取参数)
    JMeter接口测试示例(三)——添加HTTP认证
  • 原文地址:https://www.cnblogs.com/lmgsanm/p/8631306.html
Copyright © 2011-2022 走看看