The current version is #ident "@(#)$Format:LocalFoodAI_lanfr144:docker_connection.md:%an:%ae:%ad:%cn:%ce:%cd:%H:%D:%N$"
This document explains how to interact with the various Docker containers that power the Local Food AI system.
To start the application and all its microservices:
# Standard environment
docker-compose up -d
# Windows / WSL environment (if applicable)
docker-compose -f docker-compose-wsl.yml up -d
To access the MySQL shell directly:
docker exec -it food-mysql-1 mysql -u root -p
Note: The password is defined in your .env file (MYSQL_ROOT_PASSWORD).
To manage LLM models or test the AI engine:
docker exec -it food-ollama-1 bash
# Inside the container, you can run:
# ollama list
# ollama run qwen2.5:1.5b
To view the SearXNG logs if the web search context is failing:
docker logs -f food-searxng-1
If you need to access the Zabbix server or agent:
docker exec -it food-zabbix-server-1 bash
You can verify that all application components are working using:
docker ps
Look for Up (healthy) in the STATUS column for the mysql service, and ensure food-app-1 (Streamlit) is running without restarting.