<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Docker Compose on D. Sébastien Taggart</title>
    <link>https://www.sebastientaggart.com/tags/docker-compose/</link>
    <description>Recent content in Docker Compose on D. Sébastien Taggart</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 23:02:59 -0400</lastBuildDate>
    <atom:link href="https://www.sebastientaggart.com/tags/docker-compose/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Setting Up Monica CRM with Docker Compose: A Step-by-Step Guide</title>
      <link>https://www.sebastientaggart.com/writing/setting-up-monica-crm-with-docker-compose-a-step-by-step-guide/</link>
      <pubDate>Sun, 27 Aug 2023 08:05:25 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/setting-up-monica-crm-with-docker-compose-a-step-by-step-guide/</guid>
      <description>&lt;h2 id=&#34;setting-up-monica-crm-with-docker-compose-a-step-by-step-guide&#34;&gt;Setting Up Monica CRM with Docker Compose: A Step-by-Step Guide&lt;/h2&gt;
&lt;p&gt;Monica is more than just a personal relationship management (PRM) tool; it’s your digital assistant, designed to help you cultivate and maintain the important connections in your life. Think of it as a CRM tailored for personal relationships rather than sales leads. Whether you want to remember friends&amp;rsquo; birthdays, track interactions, or simply keep your social life organized, Monica stands out as a powerful ally. And deploying it via Docker Compose? That’s like giving yourself the best toolkit for the job.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<h2 id="setting-up-monica-crm-with-docker-compose-a-step-by-step-guide">Setting Up Monica CRM with Docker Compose: A Step-by-Step Guide</h2>
<p>Monica is more than just a personal relationship management (PRM) tool; it’s your digital assistant, designed to help you cultivate and maintain the important connections in your life. Think of it as a CRM tailored for personal relationships rather than sales leads. Whether you want to remember friends&rsquo; birthdays, track interactions, or simply keep your social life organized, Monica stands out as a powerful ally. And deploying it via Docker Compose? That’s like giving yourself the best toolkit for the job.</p>
<p>In this guide, I’ll walk you through the process of deploying Monica with Docker Compose, along with some recommendations to optimize your experience after setup.</p>
<hr>
<h3 id="step-1-prerequisites">Step 1: Prerequisites</h3>
<p>Before diving in, ensure you have Docker and Docker Compose installed on your machine. If this is your first experience with Docker, welcome to the world of containerization—where applications run consistently across environments, making deployment and updates a breeze.</p>
<ol>
<li><strong>Install Docker:</strong> Head over to <a href="https://docs.docker.com/get-docker/">Docker’s official website</a> for installation instructions tailored to your operating system.</li>
<li><strong>Install Docker Compose:</strong> Follow the <a href="https://docs.docker.com/compose/install/">Docker Compose installation instructions</a> to get set up.</li>
</ol>
<hr>
<h3 id="step-2-create-a-docker-composeyml-file">Step 2: Create a <code>docker-compose.yml</code> File</h3>
<p>Next, we’ll create a <code>docker-compose.yml</code> file to define how Monica will be set up. This file serves as a roadmap, detailing how to deploy the Monica application alongside a MySQL database—an essential component for storing your data.</p>
<p>Open your terminal, navigate to the directory where you want Monica to reside, and create a new <code>docker-compose.yml</code> file. Here’s a sample configuration to get you started:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">version</span><span class="p">:</span><span class="w"> </span><span class="s1">&#39;3&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">monica</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">monica:latest</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">env_file</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">.env</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">ports</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;8080:80&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">depends_on</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">db</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">db</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">mysql:5.7</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">environment</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">MYSQL_ROOT_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">rootpassword</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">MYSQL_DATABASE</span><span class="p">:</span><span class="w"> </span><span class="l">monica</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">MYSQL_USER</span><span class="p">:</span><span class="w"> </span><span class="l">monica</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">MYSQL_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">monicapassword</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">monica_db_data:/var/lib/mysql</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">monica_db_data</span><span class="p">:</span><span class="w">
</span></span></span></code></pre></div><p>In this setup:</p>
<ul>
<li><strong>Monica</strong> runs as a dedicated service, pulling the latest image from Docker Hub.</li>
<li><strong>MySQL</strong> operates as a separate service, managing the database with specified environment variables for security.</li>
</ul>
<blockquote>
<p><strong>Note</strong>: Be sure to replace <code>rootpassword</code> and <code>monicapassword</code> with secure passwords.</p>
</blockquote>
<h3 id="step-3-create-an-env-file-for-monicas-environment-variables">Step 3: Create an <code>.env</code> File for Monica’s Environment Variables</h3>
<p>To keep sensitive information like database credentials separate from the <code>docker-compose.yml</code> file, we’ll create an <code>.env</code> file. This makes it easier to manage environment variables without editing the core configuration.</p>
<p>In the same directory, create a file named <code>.env</code>:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nv">APP_KEY</span><span class="o">=</span>base64:YOUR_APP_KEY
</span></span><span class="line"><span class="cl"><span class="nv">APP_ENV</span><span class="o">=</span>production
</span></span><span class="line"><span class="cl"><span class="nv">APP_DEBUG</span><span class="o">=</span><span class="nb">false</span>
</span></span><span class="line"><span class="cl"><span class="nv">APP_URL</span><span class="o">=</span>http://localhost:8080
</span></span><span class="line"><span class="cl"><span class="nv">DB_HOST</span><span class="o">=</span>db
</span></span><span class="line"><span class="cl"><span class="nv">DB_DATABASE</span><span class="o">=</span>monica
</span></span><span class="line"><span class="cl"><span class="nv">DB_USERNAME</span><span class="o">=</span>monica
</span></span><span class="line"><span class="cl"><span class="nv">DB_PASSWORD</span><span class="o">=</span>monicapassword
</span></span></code></pre></div><p>For the <code>APP_KEY</code>, you’ll generate a new key after running the Monica container for the first time.</p>
<h3 id="step-4-run-docker-compose">Step 4: Run Docker Compose</h3>
<p>With your <code>docker-compose.yml</code> and <code>.env</code> files in place, it’s time to launch Monica:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose up -d
</span></span></code></pre></div><p>Docker Compose will pull the necessary images, create the defined services, and start them in the background.</p>
<h4 id="step-5-generate-monicas"><strong>Step 5: Generate Monica’s <code>APP_KEY</code></strong></h4>
<p>To complete the application initialization, generate your <code>APP_KEY</code> by entering the Monica container:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose <span class="nb">exec</span> monica php artisan key:generate --show
</span></span></code></pre></div><p>This command will output a new key that you should add to the <code>APP_KEY</code> field in your <code>.env</code> file. Once you’ve updated the key, restart the container:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose down
</span></span><span class="line"><span class="cl">docker-compose up -d
</span></span></code></pre></div><p>Congratulations! Monica is now fully configured and accessible at <code>http://localhost:8080</code>.</p>
<hr>
<h2 id="initial-setup-recommendations">Initial Setup Recommendations</h2>
<p>After logging into the Monica dashboard for the first time, consider these steps to maximize your PRM experience:</p>
<h3 id="1-create-a-user-account">1. Create a User Account</h3>
<p>Start by setting up your initial user account. Follow the prompts, providing essential information and a secure password.</p>
<h3 id="2-configure-personal-details-and-preferences">2. Configure Personal Details and Preferences</h3>
<p>In your profile settings, add details like your name and birthday. These particulars enhance reminders and reports, so it’s worth taking a moment to fill them in.</p>
<h3 id="3-add-your-contacts">3. Add Your Contacts</h3>
<p>Begin by entering a few close contacts. Monica allows you to store extensive information for each person—birthdays, addresses, contact details, and even custom notes. As you add contacts, consider incorporating tags and relationships (e.g., family, friend, coworker) to help you stay organized.</p>
<h3 id="4-set-up-reminders-and-notifications">4. Set Up Reminders and Notifications</h3>
<p>Take advantage of Monica&rsquo;s ability to set reminders for birthdays, anniversaries, and other significant dates. This feature is a cornerstone of what makes Monica such a valuable PRM tool, so configure your reminders thoughtfully.</p>
<h3 id="5-explore-custom-fields-and-tags">5. Explore Custom Fields and Tags</h3>
<p>If you have specific information to track—like favorite activities or meeting history—utilize custom fields and tags. Tags are particularly useful for grouping contacts by characteristics like “work,” “family,” or “volunteer group,” making it easy to filter and find relevant connections.</p>
<h3 id="6-integrate-with-email-and-calendars">6. Integrate with Email and Calendars</h3>
<p>Monica can seamlessly integrate with various email and calendar applications, centralizing your reminders and events. Check the integrations section in settings for options that can streamline your contact management.</p>
<h3 id="7-regularly-back-up-your-data">7. Regularly Back Up Your Data</h3>
<p>While Docker Compose simplifies managing and maintaining your Monica installation, regular data backups are essential—especially if you’re entering sensitive or irreplaceable information. Consider setting up periodic backups of your database or using Docker volumes to create snapshots.</p>
<hr>
<h2 id="maintenance-tips">Maintenance Tips</h2>
<ul>
<li>
<p><strong>Updating Monica</strong>: When a new version of Monica is released, update by pulling the latest image and restarting the container with:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose pull
</span></span><span class="line"><span class="cl">docker-compose up -d
</span></span></code></pre></div></li>
<li>
<p><strong>Checking Logs</strong>: To troubleshoot any issues, view logs for both services using <code>docker-compose logs monica</code> or <code>docker-compose logs db</code>.</p>
</li>
<li>
<p><strong>Restoring from Backup</strong>: Regular backups of the <code>monica_db_data</code> volume will simplify data recovery if needed.</p>
</li>
</ul>
<hr>
<p>With Docker Compose, deploying Monica CRM is straightforward and reliable. The application’s user-friendly interface and feature set make it an invaluable tool for managing personal relationships. Once you’re set up, you’ll find that Monica becomes a trusted assistant, helping you navigate life’s most important connections with ease.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Setting Up and Configuring MKDocs with Docker Compose: A Complete Guide</title>
      <link>https://www.sebastientaggart.com/writing/setting-up-and-configuring-mkdocs-with-docker-compose-a-complete-guide/</link>
      <pubDate>Sat, 20 Aug 2022 08:24:57 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/setting-up-and-configuring-mkdocs-with-docker-compose-a-complete-guide/</guid>
      <description>&lt;p&gt;MKDocs is a powerful static site generator tailored specifically for crafting project documentation. With MKDocs, you can transform your Markdown files into professional, searchable, and visually appealing documentation sites with remarkable speed and ease. By leveraging Docker Compose, you encapsulate all dependencies, simplifying the installation, configuration, and maintenance of MKDocs across various development environments. This combination not only streamlines your documentation workflow but also makes it scalable and manageable over time.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>MKDocs is a powerful static site generator tailored specifically for crafting project documentation. With MKDocs, you can transform your Markdown files into professional, searchable, and visually appealing documentation sites with remarkable speed and ease. By leveraging Docker Compose, you encapsulate all dependencies, simplifying the installation, configuration, and maintenance of MKDocs across various development environments. This combination not only streamlines your documentation workflow but also makes it scalable and manageable over time.</p>
<h2 id="step-1-prerequisites">Step 1: Prerequisites</h2>
<p>Before we dive into the setup, let’s ensure you have the essential tools ready to go: Docker and Docker Compose.</p>
<ol>
<li><strong>Install Docker:</strong> Start by following the instructions on <a href="https://docs.docker.com/get-docker/">Docker’s official website</a> to install Docker for your operating system.</li>
<li><strong>Install Docker Compose:</strong> Next, follow the <a href="https://docs.docker.com/compose/install/">Docker Compose installation instructions</a>.</li>
</ol>
<h2 id="step-2-create-a-project-directory-and-add-initial-files">Step 2: Create a Project Directory and Add Initial Files</h2>
<p>Let’s set up a dedicated space for your documentation.</p>
<ol>
<li>
<p><strong>Create a new directory</strong> for your project documentation. For example:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">mkdir my_docs_project
</span></span><span class="line"><span class="cl"><span class="nb">cd</span> my_docs_project
</span></span></code></pre></div></li>
<li>
<p>Within this directory, you&rsquo;ll need to create two files:</p>
<ul>
<li><code>docker-compose.yml</code>: This file will define how Docker sets up MKDocs.</li>
<li><code>mkdocs.yml</code>: This is MKDocs’ configuration file.</li>
</ul>
</li>
</ol>
<h2 id="step-3-define-the-docker-composeyml-file">Step 3: Define the <code>docker-compose.yml</code> File</h2>
<p>In your <code>my_docs_project</code> directory, create the <code>docker-compose.yml</code> file. This is where you’ll specify the Docker service that will run MKDocs.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">version</span><span class="p">:</span><span class="w"> </span><span class="s1">&#39;3&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">mkdocs</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">squidfunk/mkdocs-material:latest</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">.:/docs</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">ports</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;8000:8000&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">command</span><span class="p">:</span><span class="w"> </span><span class="l">mkdocs serve -a 0.0.0.0:8000</span><span class="w">
</span></span></span></code></pre></div><h3 id="breaking-it-down">Breaking It Down:</h3>
<ul>
<li><strong>image</strong>: This specifies the <code>squidfunk/mkdocs-material</code> Docker image, which includes MKDocs along with the highly popular Material theme.</li>
<li><strong>volumes</strong>: By mounting the current directory to <code>/docs</code> in the container, MKDocs can access your files and reflect changes in real-time.</li>
<li><strong>ports</strong>: This maps port 8000 on your local machine to port 8000 in the container, allowing you to access MKDocs at <code>http://localhost:8000</code>.</li>
<li><strong>command</strong>: Here, we instruct MKDocs to serve the documentation at <code>0.0.0.0:8000</code>.</li>
</ul>
<hr>
<h2 id="step-4-configure-mkdocs-in-mkdocsyml">Step 4: Configure MKDocs in <code>mkdocs.yml</code></h2>
<p>Next, create the <code>mkdocs.yml</code> configuration file in the same directory. This file dictates how MKDocs behaves and displays your documentation.</p>
<p>Here’s a sample <code>mkdocs.yml</code> configuration:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">site_name</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;My Project Documentation&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">theme</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;material&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">nav</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="nt">Home</span><span class="p">:</span><span class="w"> </span><span class="l">index.md</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="nt">About</span><span class="p">:</span><span class="w"> </span><span class="l">about.md</span><span class="w">
</span></span></span></code></pre></div><h3 id="configuration-insights">Configuration Insights:</h3>
<ul>
<li><strong>site_name</strong>: Sets the title of your site.</li>
<li><strong>theme</strong>: Specifies the theme to &ldquo;material&rdquo; (the one provided by the Docker image we used).</li>
<li><strong>nav</strong>: Defines the navigation structure of the site, linking each item to a corresponding Markdown file.</li>
</ul>
<hr>
<h2 id="step-5-create-sample-markdown-files">Step 5: Create Sample Markdown Files</h2>
<p>To see anything displayed, MKDocs needs some content. In your project directory, create the <code>index.md</code> and <code>about.md</code> files as specified in the navigation structure.</p>
<ul>
<li>
<p><strong>index.md</strong></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># Welcome to My Documentation
</span></span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This is the home page of the documentation for my project.
</span></span></code></pre></div></li>
<li>
<p><strong>about.md</strong></p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># About
</span></span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This page provides information about the project and its purpose.
</span></span></code></pre></div></li>
</ul>
<h2 id="step-6-launch-mkdocs-with-docker-compose">Step 6: Launch MKDocs with Docker Compose</h2>
<p>With your configuration and Markdown files in place, it&rsquo;s time to get MKDocs up and running using Docker Compose:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose up
</span></span></code></pre></div><p>Docker will pull the necessary image (if it&rsquo;s not already downloaded), create the container, and start MKDocs. Once it&rsquo;s running, navigate to <code>http://localhost:8000</code> in your web browser to view your documentation.</p>
<p>As you edit the Markdown files, MKDocs will automatically refresh the page to display your updates in real-time.</p>
<h2 id="step-7-building-a-static-site-with-docker-compose">Step 7: Building a Static Site with Docker Compose</h2>
<p>To create a static version of your documentation site, you can use the <code>mkdocs build</code> command within Docker. This command compiles your Markdown files into static HTML, ready for deployment on any web server.</p>
<ol>
<li>
<p>Run the following command to build the site:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker-compose run mkdocs mkdocs build
</span></span></code></pre></div></li>
<li>
<p>After the build process, you’ll find the generated static files in a <code>site/</code> directory within your project. You can then transfer these files to your preferred web server or hosting service.</p>
</li>
</ol>
<h2 id="advanced-configuration-options">Advanced Configuration Options</h2>
<p>Once MKDocs and Docker Compose are running smoothly, consider exploring some advanced configuration options in <code>mkdocs.yml</code>:</p>
<ul>
<li>
<p><strong>Enabling Search</strong>: MKDocs features a built-in search functionality that indexes your content automatically. Just ensure you’re using a theme that supports it (like Material).</p>
</li>
<li>
<p><strong>Adding Plugins</strong>: MKDocs supports various plugins, such as <code>mkdocs-material-extensions</code> for additional customization. To add plugins, simply update <code>mkdocs.yml</code> like so:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">plugins</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="l">search</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="l">markdownextradata</span><span class="w">
</span></span></span></code></pre></div></li>
<li>
<p><strong>Using Custom CSS</strong>: For those who wish to add a personal touch, you can include custom CSS to style your documentation further. Create a CSS file in your project (e.g., <code>extra.css</code>) and update <code>mkdocs.yml</code>:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">extra_css</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span>- <span class="l">extra.css</span><span class="w">
</span></span></span></code></pre></div></li>
<li>
<p><strong>Adding Code Syntax Highlighting</strong>: If your documentation includes code snippets, MKDocs can automatically apply syntax highlighting for numerous programming languages. This feature is enabled by default with the Material theme.</p>
</li>
</ul>
<hr>
<p>In conclusion, setting up MKDocs with Docker Compose is a straightforward process that equips you with a robust, scalable solution for creating and maintaining documentation. With Docker Compose, managing dependencies becomes a breeze, allowing you to run MKDocs in any environment and even generate static builds for web deployment. Once established, MKDocs offers a clean, responsive, and well-organized documentation experience, complete with search functionality and theme customization. So, let’s get documenting!</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
