Skip to content

catyku/MariadbPhpMyAdminTomcat

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mariadb Tomcat Docker environment

Description

  • This is a developer environment with mariadb , tomcat , phpMyAdmin docker

Gettting started

  • install docker , docker-compose
  • cd directory and sudo docker-compose up -d --build to run environment
  • execute you sql script with phpMyAdmin
  • project complie and build war put into tomcat-webapps
  • browser http://yourip:8080/warFileName

docker information

  • mariadb : latest
  • phpMyadmin : latest
  • tomcat : 8.5.49-jdk8-openjdk

information

  • tomcat with manager/html default account /pwd admin / mypassword112233
  • mariadb root default password myadmin123
  • phpMyAdmin default port 8088
  • tomcat default port 8080 ajp port 8009
  • tomcat-webapps/ you can put your war file or project directory

jenkins Agent docker

  • tomcat-webapps is default tomcat webapps
  • your jenkins need shell
mv  /home/jenkins/workspace/target/projectName-1.0-SNAPSHOT.war /home/jenkins/webapps/projectName.war
docker build -t jenkinsagent:maven3 .

docker run \
    --name jenkins_maven_agent \
    -d --restart always \
    -v tomcat-webapps:/home/jenkins/webapps/maven_test/ \
    jenkinsagent:maven3 \
    -url http://10.0.2.15:8080 \
    c11d83024cd7b90b290545c0748c5777bd92d35fa9cd83bdbc6b44f5afc43f5f \
    maven_agent 

About

Mariadb phpMyAdmin and tomcat 8.5 developer env

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published