瀏覽代碼

0398: Run Mealie - Recipe Tracker and Meal Planner - in Docker

i12bretro 1 年之前
父節點
當前提交
2048d096a3
共有 1 個文件被更改,包括 76 次插入0 次删除
  1. 76 0
      0398.html

+ 76 - 0
0398.html

@@ -0,0 +1,76 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Run Mealie - Recipe Tracker and Meal Planner - in Docker</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Docker,Docker Container,Docker How To,Docker Simplified,Docker Tutorial,Homelab,Linux,Ubuntu,Debian,Mealie,Meal Tracking,Meal Planner,Recipe Tracking,Recipe Manager,How To,Tutorial,i12bretro">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Run Mealie - Recipe Tracker and Meal Planner - in Docker">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="revised" content="01/27/2024 08:33:03 AM" />
+				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
+				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript" src="includes/js/steps.js"></script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Run Mealie - Recipe Tracker and Meal Planner - in Docker</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is Mealie?</h2>
+
+<blockquote><em>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. -<a href="https://github.com/hay-kot/mealie/" target="_blank">https://github.com/hay-kot/mealie/</a></em></blockquote>
+
+<h2>Installing Docker</h2>
+
+<ol>
+	<li>Log into the Linux based device</li>
+	<li>Run the following commands in the terminal
+	<div class="codeBlock"># install prerequisites<br />
+	sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
+	# add docker gpg key<br />
+	curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
+	# add docker software repository<br />
+	sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
+	# install docker<br />
+	sudo apt install docker-ce docker-compose containerd.io -y<br />
+	# enable and start docker service<br />
+	sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
+	# add the current user to the docker group<br />
+	sudo usermod -aG docker $USER<br />
+	# reauthenticate for the new group membership to take effect<br />
+	su - $USER</div>
+	</li>
+</ol>
+
+<h2>Running Mealie</h2>
+
+<ol>
+	<li>Continue following commands in a terminal window
+	<div class="codeBlock"># create working directories<br />
+	mkdir ~/docker/mealie -p<br />
+	# set owner of docker directory<br />
+	sudo chown &quot;$USER&quot;:&quot;$USER&quot; ~/docker -R<br />
+	# run mealie container<br />
+	docker run -d --name=mealie -v ~/docker/mealie:/app/data/ -p 9925:80 --restart=unless-stopped hkotel/mealie</div>
+	</li>
+	<li>Open a web browser and navigate to http://DNSorIP:9925</li>
+	<li>Login with the username changeme@email.com and password MyPassword</li>
+	<li>Click the admin username in the left navigation menu</li>
+	<li>Update the Username, Full Name and Email as needed &gt; Click Update</li>
+	<li>Click the Change Password button</li>
+	<li>Enter the Current Password (MyPassword), enter and confirm a new password &gt; Click Change Password</li>
+	<li>Log out and log back in using the updated username and password</li>
+	<li>Welcome to Mealie</li>
+</ol>
+
+<p>Documentation: <a href="https://hay-kot.github.io/mealie/documentation/getting-started/install/" target="_blank">https://hay-kot.github.io/mealie/documentation/getting-started/install/</a></p>          </div>
+        </div>
+      </body>
+    </html>
+