diff --git a/docker-compose.yaml b/docker-compose.yaml index 8c4bfcf..1364b66 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -31,7 +31,7 @@ services: dockerfile: "Dockerfile" target: development ports: - - "8083:8081" + - "8083:8083" - "5007:5005" volumes: - ./executor-pool/src:/opt/app/src @@ -43,7 +43,7 @@ services: dockerfile: "Dockerfile" target: development ports: - - "8084:8081" + - "8084:8084" - "5008:5005" volumes: - ./executor1/src:/opt/app/src diff --git a/tapas-tasks/Dockerfile b/tapas-tasks/Dockerfile deleted file mode 100644 index db90fb6..0000000 --- a/tapas-tasks/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM openjdk:11 AS development - -WORKDIR /opt/app - -# ENV SPRING_DATASOURCE_URL=jdbc:mysql://backend-db:3306/db - -COPY .mvn/ .mvn -COPY mvnw pom.xml mvnw.cmd ./ - -RUN apt-get clean && apt-get update && apt-get install dos2unix -RUN dos2unix mvnw - -RUN ./mvnw dependency:go-offline - -COPY src /opt/app/src -COPY *target /opt/app/target - -CMD ["./mvnw", "spring-boot:run", "-Dspring-boot.run.jvmArguments=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005\"", "-Dspring.devtools.restart.enabled=true"]