Refactor m3uproxy configuration: update cache and data paths, adjust JSON structure for EPG and auth file
This commit is contained in:
@@ -150,6 +150,10 @@ resource "kubernetes_deployment" "m3uproxy" {
|
||||
sub_path = "m3uproxy.json"
|
||||
read_only = true
|
||||
}
|
||||
volume_mount {
|
||||
name = "m3uproxy-cache"
|
||||
mount_path = "/app/cache"
|
||||
}
|
||||
volume_mount {
|
||||
name = "m3uproxy-playlist"
|
||||
mount_path = "/app/conf/playlist.json"
|
||||
@@ -157,8 +161,8 @@ resource "kubernetes_deployment" "m3uproxy" {
|
||||
read_only = true
|
||||
}
|
||||
volume_mount {
|
||||
name = "m3uproxy-app-cache"
|
||||
mount_path = "/app/cache"
|
||||
name = "m3uproxy-app-data"
|
||||
mount_path = "/app/data"
|
||||
}
|
||||
volume_mount {
|
||||
name = "geoip-db"
|
||||
@@ -176,6 +180,11 @@ resource "kubernetes_deployment" "m3uproxy" {
|
||||
}
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "m3uproxy-cache"
|
||||
empty_dir {
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "m3uproxy-playlist"
|
||||
config_map {
|
||||
@@ -188,9 +197,9 @@ resource "kubernetes_deployment" "m3uproxy" {
|
||||
}
|
||||
|
||||
volume {
|
||||
name = "m3uproxy-app-cache"
|
||||
name = "m3uproxy-app-data"
|
||||
host_path {
|
||||
path = local.m3uproxy_cache_path
|
||||
path = local.m3uproxy_data_path
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user