Compare commits
No commits in common. "2e08a505bdf4396a795cd8c5474516ddab59d3f1" and "46cd28f917ecedd6446ca0c4009f8a7090e61c4f" have entirely different histories.
2e08a505bd
...
46cd28f917
3 changed files with 1 additions and 79 deletions
|
@ -7,7 +7,7 @@ networks:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sharelatex:
|
sharelatex:
|
||||||
image: sharelatex/sharelatex:3
|
image: sharelatex/sharelatex
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- overleaf
|
- overleaf
|
||||||
|
|
|
@ -1,73 +0,0 @@
|
||||||
data "external" "secrets" {
|
|
||||||
program = ["cat", pathexpand("~/.tfvars.json")]
|
|
||||||
}
|
|
||||||
|
|
||||||
provider "powerdns" {
|
|
||||||
server_url = "http://192.168.30.108:3000"
|
|
||||||
api_key = data.external.secrets.result.powerdns_api_key
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "subdomain_pim" {
|
|
||||||
for_each = toset(["dav", "git", "meet", "rss", "latex", "md", "swarm", "traefik", "syncthing", "cloud", "pihole", "ntfy", "apprise", "uptime", "concourse", "discourse"])
|
|
||||||
zone = "pim.kunis.nl."
|
|
||||||
name = "${each.key}.pim.kunis.nl."
|
|
||||||
type = "CNAME"
|
|
||||||
records = ["www.pim.kunis.nl."]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "social_pim_kunis_nl_a" {
|
|
||||||
zone = "pim.kunis.nl."
|
|
||||||
name = "social.pim.kunis.nl."
|
|
||||||
type = "A"
|
|
||||||
records = ["84.245.14.149"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "kms_geokunis2_nl_a" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "kms.geokunis2.nl."
|
|
||||||
type = "A"
|
|
||||||
records = ["84.245.14.149"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "files_geokunis2_nl_a" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "files.geokunis2.nl."
|
|
||||||
type = "A"
|
|
||||||
records = ["84.245.14.149"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "files_geokunis2_nl_aaaa" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "files.geokunis2.nl."
|
|
||||||
type = "AAAA"
|
|
||||||
records = ["2a02:58:19a:f730:b62e:99ff:fe77:1bda"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "cyberchef_geokunis2_nl_a" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "cyberchef.geokunis2.nl."
|
|
||||||
type = "A"
|
|
||||||
records = ["84.245.14.149"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "cyberchef_geokunis2_nl_aaaa" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "cyberchef.geokunis2.nl."
|
|
||||||
type = "AAAA"
|
|
||||||
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee03"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "powerdns_record" "inbucket_geokunis2_nl_a" {
|
|
||||||
zone = "geokunis2.nl."
|
|
||||||
name = "inbucket.geokunis2.nl."
|
|
||||||
type = "A"
|
|
||||||
records = ["84.245.14.149"]
|
|
||||||
ttl = 60
|
|
||||||
}
|
|
|
@ -8,11 +8,6 @@ terraform {
|
||||||
libvirt = {
|
libvirt = {
|
||||||
source = "dmacvicar/libvirt"
|
source = "dmacvicar/libvirt"
|
||||||
}
|
}
|
||||||
|
|
||||||
powerdns = {
|
|
||||||
source = "pan-net/powerdns"
|
|
||||||
version = "1.5.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue