Promote GitLab to main git. domain

This commit is contained in:
Jake Howard 2021-06-02 19:49:28 +01:00
parent 6c23180591
commit d751a023da
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 3 additions and 11 deletions

View file

@ -1,4 +1,4 @@
external_url 'https://code.theorangeone.net' external_url 'https://git.theorangeone.net'
nginx['redirect_http_to_https'] = false nginx['redirect_http_to_https'] = false
alertmanager['enable'] = false alertmanager['enable'] = false
prometheus_monitoring['enable'] = false prometheus_monitoring['enable'] = false

View file

@ -7,7 +7,7 @@ check_interval = 10
[[runners]] [[runners]]
name = "runner" name = "runner"
url = "https://code.theorangeone.net" url = "https://git.theorangeone.net"
token = "{{ gitlab_runner_token }}" token = "{{ gitlab_runner_token }}"
limit = 0 limit = 0
executor = "docker" executor = "docker"

View file

@ -1,7 +1,7 @@
http: http:
routers: routers:
router-gitlab: router-gitlab:
rule: Host(`code.theorangeone.net`) rule: Host(`git.theorangeone.net`)
service: service-gitlab service: service-gitlab
tls: tls:
certResolver: le certResolver: le

View file

@ -10,14 +10,6 @@ resource "cloudflare_record" "theorangeonenet_git" {
ttl = 1 ttl = 1
} }
resource "cloudflare_record" "theorangeonenet_code" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "code"
value = vultr_instance.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_whoami" { resource "cloudflare_record" "theorangeonenet_whoami" {
zone_id = cloudflare_zone.theorangeonenet.id zone_id = cloudflare_zone.theorangeonenet.id
name = "whoami" name = "whoami"