Skip to content

Instantly share code, notes, and snippets.

View RootShell-coder's full-sized avatar
:electron:
...three dude, you always say "overload three times"

Root RootShell-coder

:electron:
...three dude, you always say "overload three times"
View GitHub Profile
@RootShell-coder
RootShell-coder / transfer_dashboard_traefik.md
Last active August 5, 2026 15:44
How to transfer dashboard traefik `/traefik/dashboard`

How to transfer dashboard traefik /traefik/dashboard

The /api and /dashboard paths often conflict with services running behind Traefik. Typically, a service domain is used for Traefik, but if for some reason this is not possible, it becomes difficult to move Traefik deeper in the path, such as to /traefik/dashboard.

---
networks:
  traefik-public:
    name: "traefik-public"
@RootShell-coder
RootShell-coder / _keycloak-cluster-config.md
Created October 31, 2024 10:48 — forked from dasniko/_keycloak-cluster-config.md
How to configure a Keycloak cluster properly (Quarkus edition)

Keycloak Cluster Configuration (How to)

This is a short and simple example on how to build a proper Keycloak cluster, using DNS_PING as discovery protocol and an NGINX server as reverse proxy.

If you prefer to use JDBC_PING, see @xgp's example gist here: https://gist.github.com/xgp/768eea11f92806b9c83f95902f7f8f80


Please see also my video about Keycloak Clustering: http://www.youtube.com/watch?v=P96VQkBBNxU
NOTE: The video covers JDBC_PING protocol and uses the legacy Keycloak Wildfly distribution!

@RootShell-coder
RootShell-coder / gist:e04b29277418bb43ab78b4c7c933908d
Last active December 12, 2023 20:53
gitlab_pipeline_cleaner.sh
#!/bin/bash
set -e
# tested GITALB v16.x
# Gitlab artifact, job, pipeline cleaner
# RootShell-coder <Root.Shelling@gmail.com>
#TOKEN=""
GITLAB_GROUP_API_TOKEN=${GITLAB_GROUP_API_TOKEN:-$TOKEN}
GITLAB_URL="https://gitlab.com"
@RootShell-coder
RootShell-coder / gist:d63c5826e118ef9e7245b4cae44b2ce8
Last active December 3, 2023 17:28
clean_gitlab-ci_pipelines.sh
#!/bin/bash
set -e
TOKEN=""
# How many to delete from the oldest.
PER_PAGE=100
UPDATED_BEFORE=$(date -d "$date -7 days" +"%Y-%m-%dT00:00:00")
GITLAB_URL="https://gitlab.com"