Add notes site
This commit is contained in:
parent
4e7c5ffd67
commit
4742552839
2 changed files with 14 additions and 1 deletions
|
@ -22,13 +22,18 @@ services:
|
|||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.gitlab-pages.middlewares=compress@file
|
||||
|
||||
- traefik.http.routers.gitlab-pages.rule=HostRegexp(`{subdomain:[a-z]+}.pages.theorangeone.net`)
|
||||
- traefik.http.routers.gitlab-pages.tls.certresolver=le
|
||||
- traefik.http.routers.gitlab-pages.tls.domains[0].main=pages.theorangeone.net
|
||||
- traefik.http.routers.gitlab-pages.tls.domains[0].sans=*.pages.theorangeone.net
|
||||
- traefik.http.services.gitlab-pages-gitlab-pages.loadbalancer.server.port=8080
|
||||
- traefik.http.services.gitlab-pages-gitlab-pages.loadbalancer.server.scheme=http
|
||||
- traefik.http.routers.gitlab-pages.middlewares=compress@file
|
||||
|
||||
- traefik.http.routers.gitlab-pages-notes.rule=Host(`notes.theorangeone.net`)
|
||||
- traefik.http.routers.gitlab-pages-notes.tls.certresolver=le
|
||||
- traefik.http.routers.gitlab-pages-notes.service=gitlab-pages-gitlab-pages
|
||||
|
||||
ssh-server:
|
||||
image: linuxserver/openssh-server:latest
|
||||
|
|
|
@ -172,3 +172,11 @@ resource "cloudflare_record" "theorangeonenet_gitlab_pages_wildcard" {
|
|||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "theorangeonenet_notes" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "notes"
|
||||
value = cloudflare_record.theorangeonenet_gitlab_pages.hostname
|
||||
type = "CNAME"
|
||||
ttl = 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue