Skip to content

Instantly share code, notes, and snippets.

View GridexX's full-sized avatar

Arsène Fougerouse GridexX

View GitHub Profile
@GridexX
GridexX / README.md
Last active February 6, 2024 14:42
Deploy Teleport behind a Caddy Reverse Proxy with Docker compose and Terraform

This repository contains the Dockerfile and the necessary files to provision a Debian VM with Terraform into Openstack, install Teleport and Caddy, and configure the latter to act as a reverse proxy for the former.

Requirements

  • Cloudflare account
  • Openstack cluster
  • Terraform CLI

Installation and usage

@GridexX
GridexX / config_commit_lint.sh
Last active June 6, 2022 09:45
Create a file for configure commitlint pre-commit hooks
#!/bin/sh
cat <<EEE > .husky/commit-msg
#!/bin/sh
. "\$(dirname "\$0")/_/husky.sh"
npx --no -- commitlint --edit "\${1}"
EEE
chmod a+x .husky/commit-msg