Skip to content
Mariadb phpMyAdmin and tomcat 8.5 developer env
Java CSS XSLT Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JenkinsMaven
etc
mariadb-data
mariadb
phpmyadmin
tomcat-webapps
tomcat
.gitignore
README.md
docker-compose.yml
run.sh

README.md

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 
You can’t perform that action at this time.