Skip to content

Aws #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Aws #80

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.terraform
*.hcl
*.pub

target

modules

providers

*/tfstate

.terraform.lock.hcl

*.exe

.terraform/

terraform.tfstate

terraform.tfstate.backup

terraform.tfstate.lock

*.tfplan
12 changes: 12 additions & 0 deletions Docker-files/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM maven:3.9.9-eclipse-temurin-21-jammy AS build
RUN git clone https://github.com/narsss1234/vprofile-project.git
RUN cd vprofile-project && git checkout aws && mvn install

FROM tomcat:10-jdk21

RUN rm -rf /usr/local/tomcat/webapps/*

COPY --from=build vprofile-project/target/vprofile-v2.war /usr/local/tomcat/webapps/ROOT.war

EXPOSE 8080
CMD ["catalina.sh", "run"]
5 changes: 5 additions & 0 deletions Docker-files/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM nginx


RUN rm -rf /etc/nginx/conf.d/default.conf
COPY nginvproapp.conf /etc/nginx/conf.d/vproapp.conf
9 changes: 9 additions & 0 deletions Docker-files/web/nginvproapp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
upstream vproapp {
server vproapp:8080;
}
server {
listen 80;
location / {
proxy_pass http://vproapp;
}
}
121 changes: 0 additions & 121 deletions Jenkinsfile

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/ansible.cfg

This file was deleted.

5 changes: 0 additions & 5 deletions ansible/site.yml

This file was deleted.

25 changes: 0 additions & 25 deletions ansible/templates/application.j2

This file was deleted.

38 changes: 0 additions & 38 deletions ansible/templates/epel6-svcfile.j2

This file was deleted.

18 changes: 0 additions & 18 deletions ansible/templates/epel7-svcfile.j2

This file was deleted.

38 changes: 0 additions & 38 deletions ansible/templates/ubuntu14_15-svcfile.j2

This file was deleted.

18 changes: 0 additions & 18 deletions ansible/templates/ubuntu16-svcfile.j2

This file was deleted.

Loading