fix: update application properties and Dockerfile for local development configuration
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
server.port=8082
|
||||
server.servlet.context-path=/api
|
||||
spring.application.name=backend
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/tododb
|
||||
|
||||
@@ -39,8 +39,6 @@ services:
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
VITE_BASE_URL: "http://localhost:8082/api"
|
||||
container_name: todo-frontend
|
||||
ports:
|
||||
- "5173:80"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user