This commit is contained in:
parent
8caf5d61b6
commit
3075a88459
@ -16,21 +16,6 @@ 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 %}
|
||||
|
||||
@ -63,11 +48,11 @@ resource "coder_app" "mitmproxy" {
|
||||
name = "mitmproxy"
|
||||
image = "mitmproxy/mitmproxy"
|
||||
command = [
|
||||
"mitmweb",
|
||||
"mitmdump",
|
||||
"--mode",
|
||||
"reverse:https://localhost:8090@8091",
|
||||
"--ssl-insecure",
|
||||
"--web-host=0.0.0.0"
|
||||
"--flow-detail=4"
|
||||
]
|
||||
image_pull_policy = "{{ image_pull_policy }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user