Mealie is an open source recipe organizer and meal planner that helps you plan and organize your meals. In this tutorial, we will learn how to install Mealie on the latest version of Ubuntu Server.
Before we begin, make sure you have the following:
Now that we have our preconditions sorted, we can start with the installation process:
Mealie is built on Docker, so the first thing we need to do is to install Docker. Enter the following commands:
sudo apt-get update
sudo apt-get install -y docker.io
This will update your Ubuntu Server and install the Docker engine.
Now that Docker is installed, we need to configure it to run Mealie. Run the following command to create a directory for Mealie's data:
sudo mkdir /opt/mealie-data
Next, create a Docker network by entering the command:
sudo docker network create mealie-net
Now, we need to download the Mealie Docker image. Enter the following command:
sudo docker pull haykot/mealie:latest
This will download the latest version of Mealie's Docker image from the Docker Hub.
Finally, it's time to start Mealie. Run the following command:
sudo docker run \
-d \
--name=mealie \
--restart=always \
-v /opt/mealie-data:/app/data \
-p 80:9000 \
--network=mealie-net \
haykot/mealie:latest
This will start the Mealie Docker container and map port 80 of your Ubuntu Server to the container's port 9000. You can access Mealie by opening your web browser and visiting http://[server-ip-address].
Congratulations! You have successfully installed and configured Mealie on your Ubuntu Server. Now you can start organizing and planning your meals.
Note: If you want to update Mealie to a new version, just pull the latest Docker image and restart the container with the updated image.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!