<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>docker on Talha Tabak</title><link>https://talhatabak.com/tags/docker/</link><description>Recent content in docker on Talha Tabak</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Talha Tabak</copyright><lastBuildDate>Sat, 21 Nov 2026 00:21:00 +0300</lastBuildDate><atom:link href="https://talhatabak.com/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Usememos Setup</title><link>https://talhatabak.com/self-hosting/memos/</link><pubDate>Sat, 21 Nov 2026 00:21:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/memos/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Memos is reached at &lt;code&gt;memos.xenonly.com&lt;/code&gt;. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The Memos container uses port &lt;code&gt;127.0.0.1:8001&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WordPress Setup</title><link>https://talhatabak.com/self-hosting/wordpress/</link><pubDate>Sat, 21 Nov 2026 00:19:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wordpress/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;For the sites to send mail, &lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;To finish the setup wizard behind the VPN, &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The example site is &lt;code&gt;example.com&lt;/code&gt;, and the site&amp;rsquo;s short name is &lt;code&gt;example&lt;/code&gt;. The short name is used in directory, container and database names; for each site, replace every &lt;code&gt;example&lt;/code&gt; with the site&amp;rsquo;s name.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;example.com&lt;/code&gt; and &lt;code&gt;www.example.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The port range &lt;code&gt;8030&lt;/code&gt;–&lt;code&gt;8049&lt;/code&gt; is set aside for WordPress sites; the first site uses port &lt;code&gt;8030&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Vaultwarden Setup</title><link>https://talhatabak.com/self-hosting/vaultwarden/</link><pubDate>Sat, 21 Nov 2026 00:18:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/vaultwarden/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/fail2ban/"&gt;6 Fail2Ban Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Vaultwarden is reached at &lt;code&gt;password.xenonly.com&lt;/code&gt;. &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for this domain.&lt;/li&gt;&#10;&lt;li&gt;The Vaultwarden container uses port &lt;code&gt;127.0.0.1:8004&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>A Ready Template for Docker Containers</title><link>https://talhatabak.com/self-hosting/docker-template/</link><pubDate>Sat, 21 Nov 2026 00:10:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/docker-template/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Container ports are published in the compose files as &lt;code&gt;127.0.0.1:&amp;lt;HOST_PORT&amp;gt;:&amp;lt;CONTAINER_PORT&amp;gt;&lt;/code&gt; and opened to the outside only through NGINX. The settings in &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; also bind ports published without an IP address to &lt;code&gt;127.0.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Docker Setup</title><link>https://talhatabak.com/self-hosting/docker/</link><pubDate>Sat, 21 Nov 2026 00:09:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/docker/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/post-install-configuration/"&gt;1 Post-Install Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Containers are reached through the NGINX configured in &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;Firewalld is still off. Docker&amp;rsquo;s Firewalld integration is finished in &lt;a href="https://talhatabak.com/self-hosting/firewalld/"&gt;5 Firewalld Configuration&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>