Assign Static IP to Container with Docker Compose

Introduction When we run a Docker container, it connects with a virtual network using an IP address. For this reason, we expect services to get a configuration dynamically. However, we might want to use a static IP instead of an automatic IP allocation. Docker runs its own DNS services that…

Implement a Health Check in Docker Compose

Introduction In a containerized environment, monitoring the health of your containers is essential to ensure the smooth operation of your applications. Docker Compose, a popular tool for defining and managing multi-container applications, provides a straightforward way to incorporate health checks into your container setup. Why are Health Checks Important? Health…

Samba - Network Shares

Introduction Samba is one of the many ways to share files and directories across a network on Linux. With a Samba share up and running, any machine within your LAN can access the contents of the shared directory–so long as the user has access. Samba also happens to be…

Nextcloud (with PostgreSQL)

Introduction Nextcloud is a suite of client-server software for creating and using file hosting services. Nextcloud provides functionality similar to Dropbox, Office 365 or Google Drive when used with integrated office suites Collabora Online or OnlyOffice. It can be hosted in the cloud or on-premises. PostgreSQL, also known as Postgres,…

Dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yml stack-oriented manager. The Docker Compose File --- services: dockge: image: louislam/dockge:latest container_name: dockge hostname: dockge restart: unless-stopped network_mode: host security_opt: - no-new-privileges:true environment: - TZ=Europe/Stockholm - DOCKGE_STACKS_DIR=$HOME/containers/storage/ ports:…

zmv - Z Shell’s file renamer

If you ever need to change at the command line the names of a batch of files consistently, zmv is the tool you’ll want to turn to first. It’s not well known, I thought I’d explore and pass on some notes about taking advantage of it. It…

Moving Away From "Oh My ZSH!"

So, why move away? The short answer is “bloat”. I find myself using oh-my-zsh only for prompt themes, colored man pages, etc. Yet there are 286 plugins in total, waiting for me to enable them. What are my essentials? * A nice prompt. * No duplicate history when reverse-searching my commands. * Case…