Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Oct 5, 2024
1 parent 1cd0635 commit 9664300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 1 addition & 11 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -255,17 +255,7 @@ job "fastcgi" {

connect {
sidecar_service {
proxy {
upstreams {
destination_name = "mysql"
local_bind_port = 3306
}

upstreams {
destination_name = "memcached"
local_bind_port = 11211
}
}
transparent_proxy {}
}

sidecar_task {
Expand Down
4 changes: 3 additions & 1 deletion jobs/memcached.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ job "memcached" {
port = "11211"

connect {
sidecar_service {}
sidecar_service {
transparent_proxy {}
}

sidecar_task {
config {
Expand Down

0 comments on commit 9664300

Please sign in to comment.