Remove gitlab configuration

This commit is contained in:
Jake Howard
2023-03-30 22:56:35 +01:00
parent 4c443d67d1
commit d52f0bc8b2
26 changed files with 5 additions and 289 deletions

View File

@ -1,6 +1,5 @@
traefik_provider_jellyfin: false
traefik_provider_homeassistant: false
traefik_provider_grafana: false
traefik_provider_gitlab: false
with_fail2ban: false

View File

@ -1,30 +0,0 @@
http:
routers:
router-gitlab:
rule: Host(`git.theorangeone.net`)
service: service-gitlab
router-gitlab-registry:
rule: Host(`registry.git.theorangeone.net`)
service: service-gitlab
router-gitlab-pages:
rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`)
service: service-gitlab-pages
router-slides:
rule: Host(`slides.jakehoward.tech`)
service: service-slides
services:
service-gitlab:
loadBalancer:
servers:
- url: https://{{ pve_hosts.gitlab.ip }}
service-gitlab-pages:
loadBalancer:
servers:
- url: http://{{ pve_hosts.gitlab.ip }}:8008
# HACK: GitLab doesn't support `_redirects` with domains in
service-slides:
loadBalancer:
passHostHeader: false
servers:
- url: https://slides.gitlab-pages.theorangeone.net

View File

@ -26,10 +26,6 @@ entryPoints:
sans: "*.jakehoward.tech"
- main: 0rng.one
sans: "*.0rng.one"
{% if traefik_provider_gitlab %}
- main: gitlab-pages.theorangeone.net
sans: "*.gitlab-pages.theorangeone.net"
{% endif %}
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"

View File

@ -86,16 +86,6 @@
when: traefik_provider_grafana
become: true
- name: Install gitlab provider
template:
src: files/file-provider-gitlab.yml
dest: /opt/traefik/traefik/conf/gitlab.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
notify: restart traefik
when: traefik_provider_gitlab
become: true
- name: logrotate config
template:
src: files/logrotate.conf