mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Configure Jellyfin
This commit is contained in:
parent
7a2492d3fb
commit
d8bbec67db
4 changed files with 49 additions and 8 deletions
10
dns.tf
10
dns.tf
|
|
@ -1,5 +1,6 @@
|
|||
locals {
|
||||
dmarc_value = "\"v=DMARC1; p=none; rua=mailto:failed-dmarc@banditlair.com; ruf=mailto:dmarc@banditlair.com\""
|
||||
storage1_ip = "78.46.96.243"
|
||||
}
|
||||
|
||||
data "hetznerdns_zone" "banditlair_zone" {
|
||||
|
|
@ -25,11 +26,18 @@ resource "hetznerdns_record" "backend1_a" {
|
|||
resource "hetznerdns_record" "mail2_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "mail2"
|
||||
value = "78.46.96.243"
|
||||
value = local.storage1_ip
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "jellyfin_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "jellyfin"
|
||||
value = local.storage1_ip
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
resource "hetznerdns_record" "db1_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "db1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue