Files
vpn-dns-gateway/deploy/Caddyfile
T
billandClaude Opus 5.5 ad35197ee4
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add Jenkins CI service, pricing app, tests and Jenkinsfile (refs #14)
Deploy Jenkins LTS 2.580.1 beside Gitea on The-Ocean:
- deploy/jenkins: official image pinned by digest plus python3 and a
  hashed 60-plugin lockfile (Pipeline + Gitea bundle tested by
  ci/jenkins-capacity, plus matrix-auth for named roles)
- compose: jenkins service with persistent jenkins-home, no published
  ports, 512 MiB RAM / 768 MiB RAM+swap / 0.75 CPU, 256 MiB heap
- Gitea webhooks restricted to the private jenkins host; Caddy alias
  keeps Jenkins->Gitea checkout and status traffic on the droplet
- Caddy serves ci.yebilly.me only to Stevens 155.246.0.0/16 and team
  IPs from the untracked .env

Add the instructor's pricing example, unit tests and Declarative
Jenkinsfile (checkout, syntax check, unit tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:55:59 -04:00

17 lines
487 B
Caddyfile

# Caddy obtains and renews the Let's Encrypt certificate and redirects HTTP to HTTPS automatically.
git.yebilly.me {
reverse_proxy gitea:3000
}
colors.yebilly.me {
reverse_proxy color-buttons-app:3000
}
# Jenkins: Stevens network (155.246.0.0/16, campus or Stevens VPN) plus team IPs
# from CI_TEAM_IPS in the untracked .env. Everyone else gets 403 before login.
ci.yebilly.me {
@denied not remote_ip 155.246.0.0/16 {$CI_TEAM_IPS}
respond @denied 403
reverse_proxy jenkins:8080
}