diff --git a/docker/Dockerfile b/docker/Dockerfile index d410013..5c89514 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,9 +38,9 @@ RUN mkdir -p /var/run/nginx && \ USER nginx -EXPOSE 3000 +EXPOSE 3001 HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \ - CMD wget --quiet --tries=1 --spider http://127.0.0.1:3000/ || exit 1 + CMD wget --quiet --tries=1 --spider http://127.0.0.1:3001/ || exit 1 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/scripts/build-frontend.sh b/scripts/build-frontend.sh index 0929aa5..b0fee8e 100755 --- a/scripts/build-frontend.sh +++ b/scripts/build-frontend.sh @@ -138,7 +138,7 @@ if [ "$RUN_CONTAINER" = true ]; then if podman run -d \ --name "$CONTAINER_NAME" \ - -p 3000:3000 \ + -p 3001:3000 \ "$FULL_IMAGE"; then echo -e "${GREEN}✓ Container started: $CONTAINER_NAME${NC}" sleep 2 @@ -148,7 +148,7 @@ if [ "$RUN_CONTAINER" = true ]; then podman logs "$CONTAINER_NAME" 2>/dev/null || echo "No logs yet" echo "" - echo -e "${GREEN}Frontend available at: http://localhost:3000${NC}" + echo -e "${GREEN}Frontend available at: http://localhost:3001${NC}" echo -e "${YELLOW}API configured at: $API_URL${NC}" echo "" echo -e "${YELLOW}To view logs:${NC}" @@ -162,7 +162,7 @@ if [ "$RUN_CONTAINER" = true ]; then fi else echo -e "${YELLOW}To run the container:${NC}" - echo " podman run -d --name $CONTAINER_NAME -p 3000:3000 $FULL_IMAGE" + echo " podman run -d --name $CONTAINER_NAME -p 3001:3000 $FULL_IMAGE" echo "" echo -e "${YELLOW}Or use this script with --run:${NC}" echo " $0 -t $IMAGE_TAG --run -a '$API_URL'" diff --git a/src/components/ModernNavbar.vue b/src/components/ModernNavbar.vue index e343f49..f9da648 100644 --- a/src/components/ModernNavbar.vue +++ b/src/components/ModernNavbar.vue @@ -15,34 +15,32 @@