infrastructure/ansible/roles/traefik/files/file-provider-gitlab.yml

31 lines
928 B
YAML
Raw Normal View History

2021-05-29 16:21:47 +01:00
http:
routers:
router-gitlab:
2021-06-02 19:49:28 +01:00
rule: Host(`git.theorangeone.net`)
2021-05-29 16:21:47 +01:00
service: service-gitlab
2022-02-25 21:48:13 +00:00
router-gitlab-registry:
rule: Host(`registry.git.theorangeone.net`)
service: service-gitlab
2022-10-08 15:51:37 +01:00
router-gitlab-pages:
rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`)
service: service-gitlab-pages
2022-10-08 17:37:24 +01:00
router-slides:
rule: Host(`slides.jakehoward.tech`)
service: service-slides
2021-05-29 16:21:47 +01:00
services:
service-gitlab:
loadBalancer:
servers:
- url: https://{{ pve_hosts.gitlab.ip }}
2022-10-08 15:51:37 +01:00
service-gitlab-pages:
loadBalancer:
servers:
- url: http://{{ pve_hosts.gitlab.ip }}:8008
2022-10-08 17:37:24 +01:00
# HACK: GitLab doesn't support `_redirects` with domains in
service-slides:
loadBalancer:
passHostHeader: false
servers:
- url: https://slides.gitlab-pages.theorangeone.net