<?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>Self Hosted on D. Sébastien Taggart</title>
    <link>https://www.sebastientaggart.com/tags/self-hosted/</link>
    <description>Recent content in Self Hosted on D. Sébastien Taggart</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 22:13:05 -0400</lastBuildDate>
    <atom:link href="https://www.sebastientaggart.com/tags/self-hosted/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Self-Hosting a Minecraft Server for My Son: Privacy, Control, and Fun with Docker</title>
      <link>https://www.sebastientaggart.com/writing/discover-the-fun-of-self-hosting-minecraft-for-your-kids/</link>
      <pubDate>Fri, 02 Sep 2022 21:52:40 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/discover-the-fun-of-self-hosting-minecraft-for-your-kids/</guid>
      <description>&lt;p&gt;Minecraft has transcended its status as merely a game; it’s a vibrant canvas for creativity, collaboration, and connection—especially for my son, Alexander. For him, Minecraft is more than just building elaborate castles or fending off creepers. It&amp;rsquo;s a realm where he can explore, learn, and share experiences with his friends.&lt;/p&gt;
&lt;p&gt;As a parent, however, I’m acutely aware of the risks associated with public or third-party servers. Concerns about online privacy, intrusive ads, and a lack of control over the gaming environment loom large. That’s precisely why I chose to self-host a Minecraft server for Alexander. This decision not only ensures a safe, private space for him to play, but also allows me to manage the server on our own terms.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Minecraft has transcended its status as merely a game; it’s a vibrant canvas for creativity, collaboration, and connection—especially for my son, Alexander. For him, Minecraft is more than just building elaborate castles or fending off creepers. It&rsquo;s a realm where he can explore, learn, and share experiences with his friends.</p>
<p>As a parent, however, I’m acutely aware of the risks associated with public or third-party servers. Concerns about online privacy, intrusive ads, and a lack of control over the gaming environment loom large. That’s precisely why I chose to self-host a Minecraft server for Alexander. This decision not only ensures a safe, private space for him to play, but also allows me to manage the server on our own terms.</p>
<p>And here’s the bonus: using Docker makes the whole process surprisingly straightforward. In this post, I’ll share why self-hosting is a worthy endeavor, how Docker fits into the picture, and provide a step-by-step setup guide to get you started.</p>
<hr>
<h2 id="why-self-host-a-minecraft-server">Why Self-Host a Minecraft Server?</h2>
<h3 id="1-privacy-and-security">1. Privacy and Security</h3>
<p>Public servers often demand accounts on third-party platforms, exposing players to strangers and increasing the risk of inappropriate interactions or data collection. By self-hosting, you gain control over who accesses the server, ensuring a safer environment for your child.</p>
<h3 id="2-full-control">2. Full Control</h3>
<p>With a self-hosted server, you can customize everything—from gameplay rules to mods and plugins. Want a creative-only world? Consider it done. Prefer to whitelist only Alexander’s friends? Easy as pie.</p>
<h3 id="3-no-ads-or-hidden-costs">3. No Ads or Hidden Costs</h3>
<p>Unlike some third-party services that market themselves as “free” while bombarding players with ads or microtransactions, a self-hosted server is distraction-free and fully under your control.</p>
<h3 id="4-a-learning-opportunity">4. A Learning Opportunity</h3>
<p>Setting up a server introduces both Alexander and me to fundamental concepts like hosting, networking, and system administration. It’s a hands-on lesson in how the internet operates.</p>
<hr>
<h2 id="why-use-docker-for-a-minecraft-server">Why Use Docker for a Minecraft Server?</h2>
<p>Docker streamlines the process of running applications such as a Minecraft server by encapsulating them in isolated containers. Here’s why it’s an excellent fit for this purpose:</p>
<ul>
<li><strong>Portability</strong>: Docker containers operate the same way across different systems—be it Linux, macOS, or Windows.</li>
<li><strong>Ease of Updates</strong>: Updating a Docker container is as simple as pulling the latest image.</li>
<li><strong>Resource Efficiency</strong>: Containers are lightweight, consuming fewer resources than traditional virtual machines.</li>
<li><strong>Simplicity</strong>: Docker Compose simplifies managing and configuring the server.</li>
</ul>
<hr>
<h2 id="setting-up-a-minecraft-server-with-docker">Setting Up a Minecraft Server with Docker</h2>
<h3 id="prerequisites">Prerequisites</h3>
<ol>
<li>
<p><strong>Install Docker and Docker Compose</strong></p>
<ul>
<li>Follow the official Docker installation guide for your operating system.</li>
<li>Install Docker Compose by following the provided instructions.</li>
</ul>
</li>
<li>
<p><strong>Have a Basic Understanding of Docker Commands</strong><br>
While this guide will be step-by-step, familiarity with <code>docker</code> and <code>docker-compose</code> commands will be beneficial.</p>
</li>
</ol>
<hr>
<h3 id="step-1-create-a-project-directory">Step 1: Create a Project Directory</h3>
<p>Let’s start by creating a directory for your Minecraft server setup:</p>
<pre tabindex="0"><code>mkdir minecraft-server
cd minecraft-server
</code></pre><hr>
<h3 id="step-2-write-the-docker-compose-file">Step 2: Write the Docker Compose File</h3>
<p>In your <code>minecraft-server</code> directory, create a file named <code>docker-compose.yml</code> with the following content:</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.8&#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">minecraft</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">itzg/minecraft-server:latest</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">minecraft_server</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;25565:25565&#34;</span><span class="w"> </span><span class="c"># Minecraft server port</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">EULA</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;TRUE&#34;</span><span class="w">               </span><span class="c"># Accept Minecraft&#39;s EULA</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">MAX_PLAYERS</span><span class="p">:</span><span class="w"> </span><span class="m">10</span><span class="w">            </span><span class="c"># Maximum players</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">ONLINE_MODE</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;TRUE&#34;</span><span class="w">        </span><span class="c"># Enable Mojang account verification</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">WHITELIST</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;TRUE&#34;</span><span class="w">          </span><span class="c"># Enable whitelist</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">./data:/data            </span><span class="w"> </span><span class="c"># Persist server data</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w">
</span></span></span></code></pre></div><p><strong>Key Points</strong>:</p>
<ul>
<li><strong>EULA</strong>: Acceptance of the Minecraft End User License Agreement is mandatory to run a server.</li>
<li><strong>ONLINE_MODE</strong>: This setting ensures that only legitimate Mojang accounts can connect.</li>
<li><strong>WHITELIST</strong>: This restricts access to pre-approved players.</li>
</ul>
<hr>
<h3 id="step-3-start-the-server">Step 3: Start the Server</h3>
<p>To start the server, run the following command:</p>
<pre tabindex="0"><code>docker-compose up -d
</code></pre><p>The <code>-d</code> flag runs the container in detached mode, allowing it to operate in the background.</p>
<hr>
<h3 id="step-4-configure-the-server">Step 4: Configure the Server</h3>
<p>Once the server starts for the first time, it will generate configuration files in the <code>data</code> directory. To edit the whitelist or server settings:</p>
<ol>
<li>
<p>Open the <code>data/whitelist.json</code> file to add approved players (e.g., Alexander and his friends).
Example:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">[</span>
</span></span><span class="line"><span class="cl">  <span class="p">{</span> <span class="nt">&#34;uuid&#34;</span><span class="p">:</span> <span class="s2">&#34;player-uuid&#34;</span><span class="p">,</span> <span class="nt">&#34;name&#34;</span><span class="p">:</span> <span class="s2">&#34;PlayerName&#34;</span> <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="p">]</span>
</span></span></code></pre></div></li>
<li>
<p>Modify <code>data/server.properties</code> to customize game settings like difficulty, game mode, and spawn radius.</p>
</li>
<li>
<p>Restart the server to apply changes:</p>
<pre tabindex="0"><code>docker-compose restart
</code></pre></li>
</ol>
<hr>
<h3 id="step-5-connecting-to-the-server">Step 5: Connecting to the Server</h3>
<ol>
<li>Launch Minecraft on Alexander’s computer.</li>
<li>Select <strong>Multiplayer</strong> &gt; <strong>Add Server</strong>.</li>
<li>Enter the server address: <code>localhost</code> (if hosting locally) or your LAN/External IP (if hosting remotely).</li>
</ol>
<p>For external access, you’ll need to configure port forwarding on your router to allow connections to port <code>25565</code>.</p>
<hr>
<h3 id="step-6-monitor-and-maintain-the-server">Step 6: Monitor and Maintain the Server</h3>
<ul>
<li>
<p><strong>Check Logs</strong>:<br>
To troubleshoot, view server logs using:</p>
<pre tabindex="0"><code>docker-compose logs -f minecraft
</code></pre></li>
<li>
<p><strong>Update the Server</strong>:<br>
To update the Minecraft server image, run:</p>
<pre tabindex="0"><code>docker-compose pull
docker-compose up -d
</code></pre></li>
<li>
<p><strong>Back Up Data</strong>:<br>
Regular backups of the <code>data</code> directory are crucial to preserve worlds and configurations:</p>
<pre tabindex="0"><code>tar -czvf minecraft-backup.tar.gz data/
</code></pre></li>
</ul>
<hr>
<h2 id="extra-features-to-consider">Extra Features to Consider</h2>
<ul>
<li>
<p><strong>Install Mods or Plugins</strong>:<br>
Consider using Forge or PaperMC (available via the same Docker image) to add mods or plugins for a richer gaming experience.</p>
</li>
<li>
<p><strong>Enable Resource Limits</strong>:<br>
Add resource constraints in your <code>docker-compose.yml</code> to prevent the server from consuming excessive CPU or memory:</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">deploy</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">resources</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">limits</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">cpus</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;1.0&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">memory</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;2G&#34;</span><span class="w">
</span></span></span></code></pre></div></li>
</ul>
<hr>
<h2 id="final-thoughts">Final Thoughts</h2>
<p>This setup is about more than just playing Minecraft; it’s about crafting a space for creativity, learning, and collaboration while imparting valuable lessons about technology and privacy.</p>
<p>And perhaps most rewarding of all? I can rest easy knowing that Alexander’s digital playground is safe, ad-free, and entirely under our control.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Migrating from LastPass to Self-Hosted Vaultwarden (Bitwarden)</title>
      <link>https://www.sebastientaggart.com/writing/migrating-from-lastpass-to-self-hosted-vaultwarden-bitwarden/</link>
      <pubDate>Mon, 13 Sep 2021 21:39:43 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/migrating-from-lastpass-to-self-hosted-vaultwarden-bitwarden/</guid>
      <description>&lt;p&gt;If you’ve made the decision to transition from LastPass to a self-hosted password manager like Vaultwarden (a streamlined fork of Bitwarden), you’re likely in search of a reliable guide to facilitate the migration. Whether you’re running it locally through Docker Compose or looking to explore the self-hosted landscape, this post will walk you through the essential steps to ensure a smooth transition.&lt;/p&gt;
&lt;h2 id=&#34;why-choose-vaultwarden&#34;&gt;Why Choose Vaultwarden?&lt;/h2&gt;
&lt;p&gt;At its core, Bitwarden is an open-source password manager that not only allows easy imports from LastPass but also offers the flexibility of self-hosting. Vaultwarden, in particular, distills the original Bitwarden server code, making it lighter and easier to manage on personal servers. This means you can take control of your data while enjoying a user-friendly interface.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>If you’ve made the decision to transition from LastPass to a self-hosted password manager like Vaultwarden (a streamlined fork of Bitwarden), you’re likely in search of a reliable guide to facilitate the migration. Whether you’re running it locally through Docker Compose or looking to explore the self-hosted landscape, this post will walk you through the essential steps to ensure a smooth transition.</p>
<h2 id="why-choose-vaultwarden">Why Choose Vaultwarden?</h2>
<p>At its core, Bitwarden is an open-source password manager that not only allows easy imports from LastPass but also offers the flexibility of self-hosting. Vaultwarden, in particular, distills the original Bitwarden server code, making it lighter and easier to manage on personal servers. This means you can take control of your data while enjoying a user-friendly interface.</p>
<h2 id="prerequisites">Prerequisites</h2>
<p>Before we dive into the setup, make sure you have Docker and Docker Compose installed on your machine. These tools will serve as the backbone for running your Vaultwarden instance.</p>
<h2 id="step-1-setting-up-vaultwarden">Step 1: Setting Up Vaultwarden</h2>
<p>Let’s begin by configuring Vaultwarden to run locally using Docker Compose.</p>
<p>Create a <code>docker-compose.yml</code> file with the following content:</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">vaultwarden</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">vaultwarden/server:latest</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">always</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">bw-data:/data</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="l">SIGNUPS_ALLOWED=true</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="m">8080</span><span class="p">:</span><span class="m">80</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">bw-data</span><span class="p">:</span><span class="w">
</span></span></span></code></pre></div><p>With this configuration, your Vaultwarden server will be accessible on port 8080, and new sign-ups will be enabled. Think of this file as the blueprint for your password management infrastructure.</p>
<h2 id="step-2-deploy-vaultwarden">Step 2: Deploy Vaultwarden</h2>
<p>To deploy your Vaultwarden instance, run the Docker Compose file with the following command:</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>Once deployed, you can access the Vaultwarden web interface by navigating to <code>http://localhost:8080</code> in your web browser. It’s like opening the door to a secure vault — just make sure you have the right key.</p>
<h2 id="step-3-migrate-data-from-lastpass">Step 3: Migrate Data from LastPass</h2>
<p>Now that your Vaultwarden instance is up and running, it’s time to migrate your data from LastPass:</p>
<ol>
<li>Head to your LastPass vault and navigate to More Options → Advanced → Export.</li>
<li>Save the exported data as a .csv file; this will be the bridge to your new Vaultwarden setup.</li>
<li>Open your Vaultwarden instance, create an account if you haven’t done so already, and go to Tools → Import Data.</li>
<li>Select LastPass (csv) from the dropdown menu and upload your .csv file.</li>
</ol>
<p>A word of caution: once you&rsquo;ve successfully imported your data, ensure you permanently delete the exported LastPass .csv files. These files contain plain-text passwords, and we certainly don’t want them lingering around.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Migrating from LastPass to a self-hosted instance of Vaultwarden not only empowers you with greater control over your sensitive information but also retains the convenience of a password management solution. While the process is straightforward, it’s vital to approach each step with care. By doing so, you safeguard your data and enhance your overall digital security.</p>
<p>So, take a deep breath, follow these steps, and enjoy the peace of mind that comes with managing your passwords on your own terms. Happy migrating!</p>
]]></content:encoded>
    </item>
    <item>
      <title>Enhancing Relationships as an Introvert with Monica Personal CRM</title>
      <link>https://www.sebastientaggart.com/writing/enhancing-relationships-as-an-introvert-with-monica-personal-crm/</link>
      <pubDate>Sun, 23 May 2021 08:14:15 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/enhancing-relationships-as-an-introvert-with-monica-personal-crm/</guid>
      <description>&lt;p&gt;As an introvert, nurturing relationships can often feel like navigating a labyrinth—rewarding but daunting. It&amp;rsquo;s not that I lack appreciation for personal connections; on the contrary, I value them deeply. However, the effort it takes to engage in meaningful conversations and keep track of important life details can sometimes be overwhelming. In my quest to find a balance, I turned to digital solutions designed to support relationship-building.&lt;/p&gt;
&lt;p&gt;Enter Monica, a Personal Customer Relationship Management platform (or Personal CRM, if you will). Think of it as a digital memory aid, collating essential details about your connections in a way that is both searchable and manageable. It’s a tool that allows introverts like myself to cultivate meaningful relationships without feeling swamped.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>As an introvert, nurturing relationships can often feel like navigating a labyrinth—rewarding but daunting. It&rsquo;s not that I lack appreciation for personal connections; on the contrary, I value them deeply. However, the effort it takes to engage in meaningful conversations and keep track of important life details can sometimes be overwhelming. In my quest to find a balance, I turned to digital solutions designed to support relationship-building.</p>
<p>Enter Monica, a Personal Customer Relationship Management platform (or Personal CRM, if you will). Think of it as a digital memory aid, collating essential details about your connections in a way that is both searchable and manageable. It’s a tool that allows introverts like myself to cultivate meaningful relationships without feeling swamped.</p>
<h2 id="getting-acquainted-with-monica">Getting Acquainted with Monica</h2>
<p>Monica Personal CRM operates much like a personal journal, but with a tech-savvy twist. Imagine having a dedicated space to store everything important about your friends and family—from their birthdays to their favorite movies and even their last vacation spots. This feature-rich tool empowers you to manage relationships more efficiently, which is particularly beneficial for those of us who thrive in quieter settings.</p>
<h2 id="using-monica-to-improve-relationships">Using Monica to Improve Relationships</h2>
<p>One of the standout features that drew me to Monica is its self-hosted nature. Hosting it on my own server means I retain complete control over my privacy—a critical consideration when dealing with sensitive information. In a world where data breaches are all too common, knowing that my personal details are secure is a significant relief.</p>
<p>Monica allows me to track every nuance of my relationships, no detail too small. I can log conversations, note when we last connected, and even remember where my friends prefer to eat or the books they enjoy. The platform&rsquo;s reminder feature alerts me when it’s time to reach out to someone I haven’t spoken to in a while, ensuring that my connections remain vibrant.</p>
<p>Additionally, I can set reminders for significant dates, like anniversaries or birthdays, and note personal milestones—career changes, family additions, and more. This level of detail empowers me to be a thoughtful friend, sibling, or child, ensuring that I don’t forget the important moments that matter.</p>
<h2 id="becoming-a-better-friend-with-monica">Becoming a Better Friend with Monica</h2>
<p>With Monica as my ally, I’ve found myself becoming more engaged in my social circles. The impact has rippled through other aspects of my life; I no longer hesitate to strike up conversations or catch up with people. Remembering details isn’t a chore anymore; it’s a delightful opportunity to connect.</p>
<p>Leveraging Monica has transformed my approach to relationships. I feel more present, attentive, and informed—all while respecting my introverted nature.</p>
<p>In summary, Monica has been a game changer in how I manage my relationships, perfectly aligning with my introverted style. If you’re an introvert or simply someone grappling with the complexities of personal connections, I wholeheartedly recommend exploring Monica Personal CRM. It might just change your relational landscape, one detail at a time.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Self Hosting Made Simple: Leverage the Power of Flat File Sites</title>
      <link>https://www.sebastientaggart.com/writing/self-hosting-made-simple-leverage-the-power-of-flat-file-sites/</link>
      <pubDate>Sat, 27 Mar 2021 06:07:49 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/self-hosting-made-simple-leverage-the-power-of-flat-file-sites/</guid>
      <description>&lt;p&gt;In a digital landscape often cluttered with complex content management systems (CMSs), the charm of flat-file websites can easily be overshadowed. But here’s the twist: a flat-file site operates without a database, storing each piece of content in a separate file, typically in a straightforward language like HTML or Markdown.&lt;/p&gt;
&lt;h3 id=&#34;why-choose-flat-file-sites-for-self-hosting&#34;&gt;Why Choose Flat-File Sites for Self-Hosting&lt;/h3&gt;
&lt;p&gt;Let’s start with the most compelling reason to consider a flat-file site for self-hosting: simplicity. Without the need to juggle a database, setting up your website becomes a breeze. This ease translates to fewer headaches down the road—particularly valuable for those of us who might not have extensive technical expertise or resources.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>In a digital landscape often cluttered with complex content management systems (CMSs), the charm of flat-file websites can easily be overshadowed. But here’s the twist: a flat-file site operates without a database, storing each piece of content in a separate file, typically in a straightforward language like HTML or Markdown.</p>
<h3 id="why-choose-flat-file-sites-for-self-hosting">Why Choose Flat-File Sites for Self-Hosting</h3>
<p>Let’s start with the most compelling reason to consider a flat-file site for self-hosting: simplicity. Without the need to juggle a database, setting up your website becomes a breeze. This ease translates to fewer headaches down the road—particularly valuable for those of us who might not have extensive technical expertise or resources.</p>
<p>Think of your flat-file site as a well-organized toolbox. Everything you need is right there, easily accessible. Should you ever decide to switch hosting providers, moving your site is as simple as copying files. No fuss, no muss.</p>
<p>Performance is another key advantage. Since all content is stored locally and doesn’t require database calls, flat-file sites tend to load quickly. This rapid performance is especially beneficial for mobile users and can even give your website&rsquo;s SEO a helpful boost.</p>
<h3 id="self-hosting-best-practices">Self-Hosting Best Practices</h3>
<p>When embarking on your journey of self-hosting a flat-file website, a few best practices can make all the difference:</p>
<ol>
<li>
<p><strong>Prioritize Security</strong>: Your hosting environment should be robust. Investing time in security measures will safeguard your site and its content.</p>
</li>
<li>
<p><strong>Regular Backups</strong>: Each piece of content stands alone as a separate file, making it easy to lose important information. Regular backups will ensure that a moment of carelessness won’t lead to panic.</p>
</li>
<li>
<p><strong>Maintenance Matters</strong>: While flat-file sites are inherently simple, they still require upkeep. Keep your content fresh and relevant, and continuously look for ways to enhance your site’s performance.</p>
</li>
</ol>
<h3 id="conclusion">Conclusion</h3>
<p>For those venturing into the realm of self-hosting, flat-file sites present a refreshing alternative to traditional CMS-based websites. Their simplicity, portability, efficiency, and ease of maintenance make them an excellent choice—especially for newcomers.</p>
<p>So, if you&rsquo;re ready to take control of your web presence, consider the flat-file approach. It’s not just about hosting; it’s about embracing a straightforward, effective solution in an increasingly complex world. Happy hosting!</p>
]]></content:encoded>
    </item>
    <item>
      <title>Netdata with Docker</title>
      <link>https://www.sebastientaggart.com/writing/netdata-with-docker/</link>
      <pubDate>Mon, 22 Feb 2021 18:21:04 -0500</pubDate>
      <guid>https://www.sebastientaggart.com/writing/netdata-with-docker/</guid>
      <description>&lt;h1 id=&#34;netdata-with-docker&#34;&gt;Netdata with Docker&lt;/h1&gt;
&lt;p&gt;Deploying Netdata with Docker offers a streamlined approach to monitoring your systems. The beauty lies in its configuration details, neatly encapsulated within the &lt;code&gt;docker-compose.yml&lt;/code&gt; file. This not only simplifies tracking and updating but also fosters a collaborative environment where sharing configurations becomes a breeze.&lt;/p&gt;
&lt;h2 id=&#34;setting-up-your-docker-composeyml&#34;&gt;Setting Up Your &lt;code&gt;docker-compose.yml&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Here&amp;rsquo;s a straightforward example of a &lt;code&gt;docker-compose.yml&lt;/code&gt; setup for Netdata:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;version&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;3&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;services&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;netdata&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;image&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;netdata/netdata&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;container_name&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;netdata&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;hostname&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;example.com&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;c&#34;&gt;# Set this to the fully qualified domain name of your host&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;ports&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;m&#34;&gt;19999&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;m&#34;&gt;19999&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;restart&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;unless-stopped&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;cap_add&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;SYS_PTRACE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;security_opt&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;apparmor:unconfined&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;volumes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;./config:/etc/netdata&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;/etc/passwd:/host/etc/passwd:ro&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;/etc/group:/host/etc/group:ro&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;/proc:/host/proc:ro&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;/sys:/host/sys:ro&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;- &lt;span class=&#34;l&#34;&gt;/etc/os-release:/host/etc/os-release:ro&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In this configuration, we direct Docker to map the necessary volumes, ensuring that Netdata has access to critical system information for accurate monitoring.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<h1 id="netdata-with-docker">Netdata with Docker</h1>
<p>Deploying Netdata with Docker offers a streamlined approach to monitoring your systems. The beauty lies in its configuration details, neatly encapsulated within the <code>docker-compose.yml</code> file. This not only simplifies tracking and updating but also fosters a collaborative environment where sharing configurations becomes a breeze.</p>
<h2 id="setting-up-your-docker-composeyml">Setting Up Your <code>docker-compose.yml</code></h2>
<p>Here&rsquo;s a straightforward example of a <code>docker-compose.yml</code> setup for Netdata:</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="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">netdata</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">netdata/netdata</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">netdata</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">hostname</span><span class="p">:</span><span class="w"> </span><span class="l">example.com</span><span class="w"> </span><span class="c"># Set this to the fully qualified domain name of your host</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="m">19999</span><span class="p">:</span><span class="m">19999</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">cap_add</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">SYS_PTRACE</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">security_opt</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">apparmor:unconfined</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">./config:/etc/netdata</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">/etc/passwd:/host/etc/passwd:ro</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">/etc/group:/host/etc/group:ro</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">/proc:/host/proc:ro</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">/sys:/host/sys:ro</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">/etc/os-release:/host/etc/os-release:ro</span><span class="w">
</span></span></span></code></pre></div><p>In this configuration, we direct Docker to map the necessary volumes, ensuring that Netdata has access to critical system information for accurate monitoring.</p>
<h3 id="the-configuration-directory">The Configuration Directory</h3>
<p>This setup anticipates a <code>./config/</code> directory housing the <code>netdata.conf</code> file. A crucial point to note: this file must exist prior to the initial container launch. Here’s a reference snippet for your <code>netdata.conf</code>:</p>
<pre tabindex="0"><code class="language-conf" data-lang="conf"># netdata configuration
#
# Download the latest version of this file with:
# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
# or
# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
#
# You can uncomment and modify any of the options below.
# The values shown in the commented settings are the defaults.
#
# global netdata configuration
[global]
  # hostname = basement-server.thetaggarthouse.com
  # other configurations...
</code></pre><h3 id="why-this-matters">Why This Matters</h3>
<p>Understanding the configuration settings is vital. It allows you to tailor Netdata&rsquo;s behavior to suit your environment, ensuring optimal performance and resource utilization. Each parameter provides insight into how Netdata interacts with your system — a small adjustment can lead to significant improvements in monitoring efficiency.</p>
<h3 id="next-steps">Next Steps</h3>
<p>After you’ve set up your <code>docker-compose.yml</code> and <code>netdata.conf</code>, consider diving deeper into Netdata’s features. Explore how to visualize your data, or perhaps integrate it with other monitoring tools. Each step you take enhances your understanding of both the system and the tool, fostering a more resilient infrastructure.</p>
<p>In conclusion, deploying Netdata via Docker is not just a technical task; it’s an opportunity to refine your monitoring strategy. Embrace the process, iterate on your configurations, and watch your system insights flourish.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
