No description
  • HCL 81%
  • Jinja 10%
  • Makefile 9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-10 12:13:29 +02:00
.gitsecret Add ASN blocking 2025-04-14 09:03:18 +02:00
ansible chore: arreglar incoherència cicd.aleix.cloud, netejar ASN duplicat, actualitzar README a OpenTofu 2026-07-26 21:02:58 +02:00
modules Ignore source_id 2025-05-24 20:38:34 +02:00
terraform/grafana-monitors feat: afegir alertes Grafana Cloud per ingress-0 (CPU, RAM, disc root) 2026-07-26 21:18:29 +02:00
.gitignore Add ASN blocking 2025-04-14 09:03:18 +02:00
.opentofu-version Initial commit 2025-04-02 12:36:53 +02:00
.terraform.lock.hcl Add vault.aleix.cloud domain 2025-05-24 21:05:19 +02:00
backend.tf Initial commit 2025-04-02 12:36:53 +02:00
diagram.png Improve documentation 2025-04-14 09:21:41 +02:00
locals.tf unproxy domains 2026-09-10 12:13:29 +02:00
main.tf Improve documentation 2025-04-14 09:21:41 +02:00
providers.tf Initial commit 2025-04-02 12:36:53 +02:00
README.md chore: arreglar incoherència cicd.aleix.cloud, netejar ASN duplicat, actualitzar README a OpenTofu 2026-07-26 21:02:58 +02:00
terraform.tfvars.sample Improve documentation 2025-04-14 09:21:41 +02:00
terraform.tfvars.secret Improve documentation 2025-04-14 09:21:41 +02:00
variables.tf Initial commit 2025-04-02 12:36:53 +02:00

infra-ingress

This stack creates one (or multiple) Linux instances on Oracle Cloud Infrastructure (OCI) that will work as a reverse proxy, acting as a Cloudflare Tunnel replacement.

Routing

Each ingress instance is registered into my Tailscale network. Traffic between instances is done through Tailscale.

diagram

The ingress instance runs a Caddy service that maps each request to the corresponding backend service.

OpenTofu

This stack creates one or more Oracle Cloud instance(s), and creates their corresponding FQDNs (i0.aleix.cloud) on Cloudflare.

This stack also maps domains that needs to be routed, at the Cloudflare DNS level (without proxy).

Check locals.tf file, where instances and proxies are map.

Ansible

Check Ansible Documentation