This commit is contained in:
parent
5425f75c17
commit
2b471b9f33
@ -16,6 +16,21 @@ resource "coder_app" "splunk-lm" {
|
||||
threshold = 10
|
||||
}
|
||||
}
|
||||
|
||||
resource "coder_app" "mitmproxy" {
|
||||
agent_id = coder_agent.main.id
|
||||
display_name = "mitmproxy"
|
||||
slug = "mitmproxy"
|
||||
url = "http://localhost:8081/"
|
||||
subdomain = true
|
||||
share = "public"
|
||||
|
||||
healthcheck {
|
||||
url = "http://localhost:8081/"
|
||||
interval = 3
|
||||
threshold = 10
|
||||
}
|
||||
}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
@ -47,7 +62,13 @@ resource "coder_app" "splunk-lm" {
|
||||
container {
|
||||
name = "mitmproxy"
|
||||
image = "mitmproxy/mitmproxy"
|
||||
command = ["mitmdump", "--mode", "reverse:https://localhost:8090@8091", "--ssl-insecure"]
|
||||
command = [
|
||||
"mitmweb",
|
||||
"--mode",
|
||||
"reverse:https://localhost:8090@8091",
|
||||
"--ssl-insecure",
|
||||
"--flow-detail=4"
|
||||
]
|
||||
image_pull_policy = "{{ image_pull_policy }}"
|
||||
|
||||
security_context {
|
||||
|
||||
Reference in New Issue
Block a user