diff --git a/terraform/modules/compute_plane/main.tf b/terraform/modules/compute_plane/main.tf index f974f9e1b..4222c9e80 100644 --- a/terraform/modules/compute_plane/main.tf +++ b/terraform/modules/compute_plane/main.tf @@ -1,5 +1,10 @@ resource "docker_volume" "socket_vol" { name = "socket_vol${var.replica_counter}" + driver_opts = { + o:"uid=3333" + device : "tmpfs" + type: "tmpfs" + } } resource "docker_image" "worker" { @@ -18,6 +23,7 @@ resource "docker_container" "worker" { env = concat(["Serilog__Properties__Application=${var.worker.serilog_application_name}"], local.gen_env, local.common_env) log_driver = var.log_driver.name + user = 3333 log_opts = { fluentd-address = var.log_driver.address @@ -52,6 +58,7 @@ resource "docker_container" "polling_agent" { env = concat(local.env, local.gen_env, local.common_env) + user = 3333 log_driver = var.log_driver.name log_opts = {