Run Mealie - Recipe Tracker and Meal Planner - in Docker 🌱

What is Mealie?

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor. -https://github.com/hay-kot/mealie/

Installing Docker

  1. Log into the Linux based device
  2. Run the following commands in the terminal
    # install prerequisites
    sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
    # add docker gpg key
    curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
    # add docker software repository
    sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
    # install docker
    sudo apt install docker-ce docker-compose containerd.io -y
    # enable and start docker service
    sudo systemctl enable docker && sudo systemctl start docker
    # add the current user to the docker group
    sudo usermod -aG docker $USER
    # reauthenticate for the new group membership to take effect
    su - $USER

Running Mealie

  1. Continue following commands in a terminal window
    # create working directories
    mkdir ~/docker/mealie -p
    # set owner of docker directory
    sudo chown "$USER":"$USER" ~/docker -R
    # run mealie container
    docker run -d --name=mealie -v ~/docker/mealie:/app/data/ -p 9925:80 --restart=unless-stopped hkotel/mealie
  2. Open a web browser and navigate to http://DNSorIP:9925
  3. Login with the username changeme@email.com and password MyPassword
  4. Click the admin username in the left navigation menu
  5. Update the Username, Full Name and Email as needed > Click Update
  6. Click the Change Password button
  7. Enter the Current Password (MyPassword), enter and confirm a new password > Click Change Password
  8. Log out and log back in using the updated username and password
  9. Welcome to Mealie

Documentation: https://hay-kot.github.io/mealie/documentation/getting-started/install/