Skip to main content

Mealie Docker Container

Mealie is a self-hosted recipe manager and meal planner web application that helps users organize recipes, plan meals, and generate shopping lists.

Overview​

Mealie runs as a Docker container, making it easy to deploy and manage on any system that supports Docker. The containerized service provides a web interface accessible via HTTP, allowing users to interact with their recipes and meal plans from any device on the network.

Running Mealie in Docker​

To run Mealie using Docker, you can use the official Mealie Docker image. A basic example to start the container is:

docker run -d \
-p 9925:80 \
--name mealie \
hay-kot/mealie:latest

This command runs Mealie in detached mode, mapping port 80 inside the container to port 9925 on the host machine.

Accessing the Service​

Once the container is running, you can access the Mealie web interface by navigating to http://<host-ip>:9925 in your web browser. For example, if running locally, use http://localhost:9925.

Configuration and Data Persistence​

To keep your data persistent across container restarts, it is recommended to mount volumes for configuration and database storage. For example:

docker run -d \
-p 9925:80 \
-v /path/to/config:/app/data \
--name mealie \
hay-kot/mealie:latest

Replace /path/to/config with a directory on your host where Mealie can store its data.

Summary​

Mealie's Docker container provides a convenient and portable way to run a meal planning and recipe management service. It is accessible via HTTP and can be easily integrated into your home server or Docker-based infrastructure.


This documentation was generated to provide an overview of the Mealie Docker container and its usage.