Configuring WordPress HTTPS using Cloudflare

So I just found out today that Cloudflare provides free HTTPS/SSL support. I’ve been using Cloudflare free account for many years and it works flawlessly. In fact this WordPress powered blog and my several other sites use Cloudflare services. With the addition of HTTPS/SSL, I can have added security.

SELinux fix for Mergerfs to allow Docker and Samba access

I recently started using Snapraid and Mergerfs setup to manage my disk pool. I have ~27TB of raw storage which I am managing. While setting up Mergerfs as usual ran into SELinux issues that will prohibit Docker and Samba access to the storage. So, here’s my fix. Samba setsebool -P samba_share_fusefs=1 Docker setsebool -P virt_sandbox_use_fusefs=1

Docker Container for SMTP Relay

SMTP Relay service allows you to use an external SMTP server to send your mails through. After many frustrating hours of working with several SMTP Relay Docker Images, I finally found the one that works. Link: https://hub.docker.com/r/tecnativa/postfix-relay/ Configuration is very easy; Sample Run script docker run \ –name name\ -d \ –restart=always \ -p localport:25 \ -e “MAIL_RELAY_HOST=smtpserver” \ -e …

Read moreDocker Container for SMTP Relay

Docker Transmission Container with Windscribe VPN

Found this awesome container that has Transmission with VPN support which I can use with Windscribe VPN. Docker Hub Link – https://hub.docker.com/r/haugene/transmission-openvpn/ Run command: docker run \ –name somename\ –restart=always \ –cap-add=NET_ADMIN \ –device=/dev/net/tun \ -d \ -v localdir:/data:z \ -v /etc/localtime:/etc/localtime:ro \ –log-driver json-file \ –log-opt max-size=10m \ -p localport:9091 \ –dns 8.8.8.8 –dns 8.8.4.4 \ -e “OPENVPN_PROVIDER=WINDSCRIBE” \ …

Read moreDocker Transmission Container with Windscribe VPN

Fixing Random Samba Share Lockouts Part 2 w/Docker

Continuation of my previous post about fixing random Samba Share lockouts. I discovered that Docker and Samba were fighting to gain access to the folders. If I set the label to samba_share_t, then Docker loses access. If I allow Docker (with “Z” option while running container), then Docker resets the label to “svirt_sandbox_file_t”. How can I make both use it? …

Read moreFixing Random Samba Share Lockouts Part 2 w/Docker

Custom Docker image for PHP

I created a custom docker image for PHP that includes following: Custom PHP.ini file correct timezone configured Apache mod_rewrite enabled PHP PDO MySQL extension installed You can access it here. …and click here for Dockerfile link

My Site is now on Docker containers

My site and this blog is now completely on Docker containers. I really like the setup and it wasn’t too difficult to achieve. This will help me reduce my physical server to bare minimums required to keep Docker containers running. Docker is amazing and truly revolutionary!