fix: update application properties and Dockerfile for local development configuration

This commit is contained in:
almazlar
2026-02-22 13:18:08 +03:00
parent 854a0bace8
commit b5dcba1e11
3 changed files with 2 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
server.port=8082
server.servlet.context-path=/api
spring.application.name=backend
spring.datasource.url=jdbc:postgresql://localhost:5432/tododb

View File

@@ -39,8 +39,6 @@ services:
frontend:
build:
context: ./frontend
args:
VITE_BASE_URL: "http://localhost:8082/api"
container_name: todo-frontend
ports:
- "5173:80"

View File

@@ -7,7 +7,7 @@ COPY . .
ARG VITE_APP_VERSION=dev
ENV VITE_APP_VERSION=${VITE_APP_VERSION}
ARG VITE_BASE_URL=https://todo.almazlar.com/api
ARG VITE_BASE_URL=http://localhost:8082/api
ENV VITE_BASE_URL=${VITE_BASE_URL}
RUN npm run build