Add lidarr

This commit is contained in:
IamTheFij 2023-07-25 11:05:23 -07:00
parent e7c985d276
commit 70098930f8
2 changed files with 46 additions and 0 deletions

View File

@ -112,6 +112,9 @@
- name: nzbget-config
path: /srv/volumes/nas-container/nzbget
read_only: false
- name: lidarr-config
path: /srv/volumes/nas-container/lidarr
read_only: false
- name: all-volumes
path: /srv/volumes
owner: "root"

View File

@ -211,3 +211,46 @@ module "adminer" {
memory = 50
}
}
module "lidarr" {
source = "./service"
name = "lidarr"
image = "linuxserver/lidarr"
ingress = true
service_port = 8686
use_postgres = true
postgres_bootstrap = {
enabled = true
databases = [
"lidarr",
"lidarr-logs",
]
}
env = {
PGID = 100
PUID = 1001
TZ = "America/Los_Angeles"
}
host_volumes = [
{
name = "lidarr-config"
dest = "/config"
read_only = false
},
{
name = "media-write"
dest = "/media"
read_only = false
},
]
resources = {
cpu = 250
memory = 300
}
}