Skip to content

zefirnikolov/awsapp-dbpart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is the database part microservice of the whole Kubernetes Cluster deployed on Amazon Web Services – AWS. This part is intended for development team + Dockerfile and Jenkinsfile are intended for the DevOps -> Please see the whole cluster on https://github.com/zefirnikolov/awsapp-k8scluster

Code folder consists only 1 file: the mysql init file -> It creates a database called random_facts and after that creates table facts in which is stored the sent randomly generated text from the generator microservice. -> This file is used for the Docker Image to be uploaded in the Mysql folder of the MariaDB docker Image.

database

The Dockerfile: Downloads the official MariaDB image, then it only adds the code from the init file to the init file of the MariaDB database system.

dockerfile

The Jenkinsfile: Clones the git repository -> creates a docker image from the Dockerfile -> Push the image with Updated TAG to Docker Hub -> triggers the second Jenkins job responsible for the cluster repository.

jenkinsfile

The Jenkins job is with configured webhook - any time a change is made from this repository - It automatically builds this job using the Jenkinsfile.

Releases

No releases published

Packages

No packages published