Skip to content

Commit

Permalink
ci: validate it can work with old workers
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Mar 5, 2024
1 parent 7ede154 commit 99b8bdd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/modules/compute_plane/main.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand All @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 99b8bdd

Please sign in to comment.