Skip to content

Commit

Permalink
Change hostnames with localhost after network changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjartwolf committed Nov 18, 2020
1 parent 0048546 commit d2b7533
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 41 deletions.
10 changes: 2 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
{
"label": "run k6test",
"command": "k6 run --out influxdb=http://influxdb:8086/reportdb k6-tests/challenge${input:testToRun}test.js",
"command": "k6 run --out influxdb=http://localhost:8086/reportdb k6-tests/challenge${input:testToRun}test.js",
"type": "shell",
"group": "test",
},
Expand All @@ -49,7 +49,7 @@
},
{
"label": "create database",
"command": "curl -X POST -G http://influxdb:8086/query --data-urlencode 'q=CREATE DATABASE reportdb'",
"command": "curl -X POST -G http://localhost:8086/query --data-urlencode 'q=CREATE DATABASE reportdb'",
"type": "shell",
"group": "none"
},
Expand All @@ -64,12 +64,6 @@
"command": "scripts/create-dashboard.sh",
"type": "shell",
"group": "none"
},
{
"label": "forward grafana port",
"command": "socat tcp-listen:3000,reuseaddr,fork tcp:grafana:3000",
"type": "shell",
"group": "none"
}
],
"inputs": [
Expand Down
Loading

0 comments on commit d2b7533

Please sign in to comment.