fix(pterodactyl): wings data path
This commit is contained in:
@@ -55,7 +55,7 @@ locals {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
host_path = "${var.volume_path}/var/lib"
|
host_path = "${var.volume_path}/var/lib"
|
||||||
container_path = "/var/lib/pterodactyl/"
|
container_path = "${var.volume_path}/var/lib"
|
||||||
read_only = false
|
read_only = false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -65,7 +65,7 @@ locals {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
host_path = "${var.volume_path}/tmp"
|
host_path = "${var.volume_path}/tmp"
|
||||||
container_path = "/tmp/pterodactyl/"
|
container_path = "${var.volume_path}/tmp"
|
||||||
read_only = false
|
read_only = false
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -86,7 +86,7 @@ module "wings_network" {
|
|||||||
name = "ptero-wings"
|
name = "ptero-wings"
|
||||||
driver = "bridge"
|
driver = "bridge"
|
||||||
attachable = true
|
attachable = true
|
||||||
subnet = "172.32.0.0/16"
|
subnet = "172.21.0.0/16"
|
||||||
options = {
|
options = {
|
||||||
"com.docker.network.bridge.name" = "ptero-wings"
|
"com.docker.network.bridge.name" = "ptero-wings"
|
||||||
}
|
}
|
||||||
@@ -97,6 +97,8 @@ module "wings" {
|
|||||||
container_name = local.container_name
|
container_name = local.container_name
|
||||||
image = local.image
|
image = local.image
|
||||||
tag = local.image_tag
|
tag = local.image_tag
|
||||||
|
pgid = 988
|
||||||
|
puid = 988
|
||||||
volumes = local.volumes
|
volumes = local.volumes
|
||||||
env_vars = local.env_vars
|
env_vars = local.env_vars
|
||||||
networks = concat([module.wings_network.name], var.networks)
|
networks = concat([module.wings_network.name], var.networks)
|
||||||
|
|||||||
Reference in New Issue
Block a user