Home page

Overview

Coolify provides deployment and orchestration capabilities for applications using Docker and docker-compose. It can be installed onto servers with a couple of commands over SSH

Transclude of Coolify-Overview.excalidraw

Setting Up

  • We need a “server” and a

Add Basic Auth to an App

As per the official docs:

Add a middleware with a unique name (like basicAuth) and the user hash:

traefik.http.middlewares.myBasicAuth.basicAuth.users=user:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/

Use htpasswd -nb user password to generate the user:password hash pair.

Then add the middleware to your application - if your app ID is x7yz9p2qr3lmn4 - you most likely already have gzip middleware so just modify the existing entry.

traefik.http.routers.https-0-x7yz9p2qr3lmn4.middlewares=gzip,myBasicAuth