This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# is the url for retrieve the OpenID configuration - normally the <server>/auth/realm/<realm_name> | |
discovery-url: https://keycloak.example.com/auth/realms/demo | |
# the client id for the 'client' application | |
client-id: broker | |
# the secret associated to the 'client' application | |
client-secret: 1331ce9e-32a0-43b5-98e4-b004bbccfd0a | |
# the interface definition you wish the proxy to listen, all interfaces is specified as ':<port>', unix sockets as unix://<REL_PATH>|</ABS PATH> | |
listen: 10.4.12.73:3000 | |
# whether to enable refresh tokens | |
enable-refresh-tokens: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to backup GitLab repositories. | |
GLAB_BACKUP_DIR=${GLAB_BACKUP_DIR-"gitlab_backup"} # where to place the backup files | |
GLAB_TOKEN=${GLAB_TOKEN-"YOUR_TOKEN"} # the access token of the account | |
GLAB_GITHOST=${GLAB_GITHOST-"gitlab.com"} # the GitLab hostname | |
GLAB_PRUNE_OLD=${GLAB_PRUNE_OLD-true} # when `true`, old backups will be deleted | |
GLAB_PRUNE_AFTER_N_DAYS=${GLAB_PRUNE_AFTER_N_DAYS-7} # the min age (in days) of backup files to delete | |
GLAB_SILENT=${GLAB_SILENT-false} # when `true`, only show error messages | |
GLAB_API=${GLAB_API-"https://gitlab.com/api/v3"} # base URI for the GitLab API |