rest of the changes to the new workout struct
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user