Coolify basic auth

Sun, Apr 13, 2025 One-minute read

Coolify basic auth

Setting basic auth on Coolify requires editing the traefik labels.

I’ve only needed to do it in docker compose files. Heres my snippet:

    labels:
      - 'traefik.http.middlewares.$UNIQUE_TO_PROJECT.basicauth.users=$USERNAME:$PASSWORD_GENERATED_BY_HTPASSWD'

Link to docs

Tags:

#coolify #traefik