diff --git a/micro-service-starter/docker_code/cart-microservice-nodejs/Dockerfile b/micro-service-starter/docker_code/cart-microservice-nodejs/Dockerfile deleted file mode 100644 index 413f94c..0000000 --- a/micro-service-starter/docker_code/cart-microservice-nodejs/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM node:14 -WORKDIR /app -COPY . . -RUN npm install -EXPOSE 1004 -CMD ["node","index.js"] \ No newline at end of file diff --git a/micro-service-starter/docker_code/docker-compose.yaml b/micro-service-starter/docker_code/docker-compose.yaml deleted file mode 100644 index 3e32bd6..0000000 --- a/micro-service-starter/docker_code/docker-compose.yaml +++ /dev/null @@ -1,44 +0,0 @@ -version: '2' - -services: - ui: - build: ./ui-web-app-reactjs - ports: - - 8080:8080 - - zuul: - build: ./zuul-api-gateway - ports: - - 9999:9999 - depends_on: - - ui - - shoe: - image: deekshithsn/shoe - ports: - - 1002:1002 - depends_on: - - zuul - - offers: - image: deekshithsn/offer - ports: - - 1001:1001 - depends_on: - - zuul - - cart: - image: deekshithsn/cart - ports: - - 1004:1004 - depends_on: - - zuul - - wishlist: - image: deekshithsn/wishlist -# volumes: -# - ./wishlist-microservice-python:. - ports: - - 1003:5000 - depends_on: - - zuul \ No newline at end of file diff --git a/micro-service-starter/docker_code/offers-microservice-spring-boot/Dockerfile b/micro-service-starter/docker_code/offers-microservice-spring-boot/Dockerfile deleted file mode 100644 index bb6ea36..0000000 --- a/micro-service-starter/docker_code/offers-microservice-spring-boot/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM maven as build -WORKDIR /app -COPY . . -RUN mvn install - -FROM openjdk:11.0.10-jre -WORKDIR /app -COPY --from=build /app/target/offers-0.0.1-SNAPSHOT.jar /app -EXPOSE 1001 -CMD ["java","-jar","offers-0.0.1-SNAPSHOT.jar"] \ No newline at end of file diff --git a/micro-service-starter/docker_code/shoes-microservice-spring-boot/Dockerfile b/micro-service-starter/docker_code/shoes-microservice-spring-boot/Dockerfile deleted file mode 100644 index 515cc94..0000000 --- a/micro-service-starter/docker_code/shoes-microservice-spring-boot/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM maven as build -WORKDIR /app -COPY . . -RUN mvn install - -FROM openjdk:11.0.10-jre -WORKDIR /app -COPY --from=build /app/target/shoes-0.0.1-SNAPSHOT.jar /app -EXPOSE 1002 -CMD ["java","-jar","shoes-0.0.1-SNAPSHOT.jar"] \ No newline at end of file diff --git a/micro-service-starter/docker_code/ui-web-app-reactjs/Dockerfile b/micro-service-starter/docker_code/ui-web-app-reactjs/Dockerfile deleted file mode 100644 index aa33a64..0000000 --- a/micro-service-starter/docker_code/ui-web-app-reactjs/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM node:8.7-alpine -LABEL maintainer="deekshith@gmail.com" -RUN useradd uiapp -WORKDIR /app -COPY . . -RUN npm install -EXPOSE 8080 -USER uiapp -CMD ["npm","start"] \ No newline at end of file diff --git a/micro-service-starter/docker_code/ui-web-app-reactjs/src/components/App.jsx b/micro-service-starter/docker_code/ui-web-app-reactjs/src/components/App.jsx index 0555937..c783d7c 100644 --- a/micro-service-starter/docker_code/ui-web-app-reactjs/src/components/App.jsx +++ b/micro-service-starter/docker_code/ui-web-app-reactjs/src/components/App.jsx @@ -8,7 +8,7 @@ const App = () => { const [displayData, setDisplayData] = useState({url:''}) const handleApiCall = async (e) => { - const url = 'http://34.125.12.109:9999/'+e.target.name; + const url = 'http://44.202.141.85:9999/'+e.target.name; displayData.url=url let options = {} try { diff --git a/micro-service-starter/docker_code/wishlist-microservice-python/Dockerfile b/micro-service-starter/docker_code/wishlist-microservice-python/Dockerfile deleted file mode 100644 index 624a6b0..0000000 --- a/micro-service-starter/docker_code/wishlist-microservice-python/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM python:3 -COPY . . -RUN pip install flask flask_cors -EXPOSE 1003 -CMD ["python","index.py"] \ No newline at end of file diff --git a/micro-service-starter/docker_code/zuul-api-gateway/Dockerfile b/micro-service-starter/docker_code/zuul-api-gateway/Dockerfile deleted file mode 100644 index 83b67ac..0000000 --- a/micro-service-starter/docker_code/zuul-api-gateway/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM maven as build -WORKDIR /app -COPY . . -RUN mvn install - -FROM openjdk:11.0.10-jre -WORKDIR /app -COPY --from=build /app/target/zuul-0.0.1-SNAPSHOT.jar /app -EXPOSE 9999 -CMD ["java","-jar","zuul-0.0.1-SNAPSHOT.jar"] \ No newline at end of file