Skip to content

Commit a6fd2ea

Browse files
committed
update client port from 4173 to 5173 in README, docker-compose, and startup script
1 parent 2399455 commit a6fd2ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Harmonia is built as a Java/Spring-based monolith, prioritizing stability and jo
5656
```
5757

5858
3. Access the services:
59-
* Client (served by nginx): http://localhost:4173
59+
* Client (served by nginx): http://localhost:5173
6060
* Spring Boot server: http://localhost:8080
6161
* PostgreSQL: localhost:5432 (user `postgres`, password `harmonia`)
6262

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
server:
5151
condition: service_started
5252
ports:
53-
- "4173:80"
53+
- "5173:80"
5454

5555
volumes:
5656
postgres_data:

start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fi
8787
echo -e "${YELLOW}• Waiting for React client...${NC}"
8888
timeout=30
8989
while [ $timeout -gt 0 ]; do
90-
if curl -f -s http://localhost:4173 >/dev/null 2>&1; then
90+
if curl -f -s http://localhost:5173 >/dev/null 2>&1; then
9191
echo -e "${GREEN} ✓ Client is ready${NC}"
9292
break
9393
fi
@@ -104,7 +104,7 @@ echo -e "\n${BLUE}========================================${NC}"
104104
echo -e "${GREEN}✓ Harmonia is now running!${NC}"
105105
echo -e "${BLUE}========================================${NC}"
106106
echo -e "${YELLOW}Server:${NC} http://localhost:8080"
107-
echo -e "${YELLOW}Client:${NC} http://localhost:4173"
107+
echo -e "${YELLOW}Client:${NC} http://localhost:5173"
108108
echo -e "${YELLOW}Database:${NC} PostgreSQL on localhost:5432"
109109
echo -e "\n${YELLOW}Useful commands:${NC}"
110110
echo -e "${YELLOW}• View logs:${NC} docker compose -f docker/docker-compose.yml logs -f"

0 commit comments

Comments
 (0)