fix: update port numbers and API endpoints for consistency across backend and frontend

This commit is contained in:
2025-08-19 23:55:13 +02:00
parent 2480bfab89
commit e1d79d2c79
7 changed files with 38 additions and 28 deletions

View File

@@ -1,21 +1,25 @@
services:
# borrow_system-frontend:
# container_name: borrow_system-frontend
# build: ./frontend
# ports:
# - "8001:8001"
# environment:
# - CHOKIDAR_USEPOLLING=true
# volumes:
# - ./frontend:/app
# - /app/node_modules
# restart: unless-stopped
borrow_system-frontend:
container_name: borrow_system-frontend
build: ./frontend
ports:
- "8101:8101"
networks:
- proxynet
environment:
- CHOKIDAR_USEPOLLING=true
volumes:
- ./frontend:/app
- /app/node_modules
restart: unless-stopped
borrow_system-backend:
container_name: borrow_system-backend
build: ./backend
ports:
- "8002:8002"
- "8102:8102"
networks:
- proxynet
environment:
DB_HOST: mysql
DB_USER: root
@@ -41,3 +45,7 @@ services:
volumes:
mysql-data:
networks:
proxynet:
external: true