Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1479827612 | ||
|
|
b3f09d5dfc | ||
|
|
4c83f6670d | ||
|
|
d9e69e03ad |
@@ -147,3 +147,11 @@ jobs:
|
|||||||
build-args: |
|
build-args: |
|
||||||
VITE_APP_VERSION=${{ steps.generate.outputs.new_tag }}
|
VITE_APP_VERSION=${{ steps.generate.outputs.new_tag }}
|
||||||
VITE_BASE_URL=https://todo.almazlar.com/api
|
VITE_BASE_URL=https://todo.almazlar.com/api
|
||||||
|
|
||||||
|
- name: Deploy to Dokploy (Backend)
|
||||||
|
run: |
|
||||||
|
curl -X POST "${{ secrets.DOKPLOY_BACKEND_WEBHOOK_URL }}"
|
||||||
|
|
||||||
|
- name: Deploy to Dokploy (Frontend)
|
||||||
|
run: |
|
||||||
|
curl -X POST "${{ secrets.DOKPLOY_FRONTEND_WEBHOOK_URL }}"
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
## [v0.0.10] - 2026-02-22
|
||||||
|
|
||||||
|
* feat: add deployment steps for Backend and Frontend to Dokploy (b3f09d5)
|
||||||
|
* fix: update VITE_BASE_URL to use port 8080 in Dockerfile (4c83f66)
|
||||||
|
* fix: update server port to 8080 in Dockerfile and application properties (d9e69e0)
|
||||||
|
|
||||||
## [v0.0.9] - 2026-02-22
|
## [v0.0.9] - 2026-02-22
|
||||||
|
|
||||||
* feat: add createdAt field to Todo entity and update database migration script (c26ee4f)
|
* feat: add createdAt field to Todo entity and update database migration script (c26ee4f)
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ RUN apt-get update && \
|
|||||||
apt-get install -y curl && \
|
apt-get install -y curl && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
COPY --from=build /app/target/*.jar app.jar
|
COPY --from=build /app/target/*.jar app.jar
|
||||||
EXPOSE 8082
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=30s --timeout=3s \
|
||||||
|
CMD curl -f http://localhost:8080/api/actuator/health || exit 1
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
server.port=8082
|
server.port=8080
|
||||||
server.servlet.context-path=/api
|
server.servlet.context-path=/api
|
||||||
spring.application.name=backend
|
spring.application.name=backend
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ COPY . .
|
|||||||
ARG VITE_APP_VERSION=dev
|
ARG VITE_APP_VERSION=dev
|
||||||
ENV VITE_APP_VERSION=${VITE_APP_VERSION}
|
ENV VITE_APP_VERSION=${VITE_APP_VERSION}
|
||||||
|
|
||||||
ARG VITE_BASE_URL=http://localhost:8082/api
|
ARG VITE_BASE_URL=http://localhost:8080/api
|
||||||
ENV VITE_BASE_URL=${VITE_BASE_URL}
|
ENV VITE_BASE_URL=${VITE_BASE_URL}
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user