Skip to content

Commit

Permalink
Configurating for running a demo on one machine
Browse files Browse the repository at this point in the history
  • Loading branch information
topfunky committed Aug 9, 2018
1 parent dcca4df commit 7ff7275
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
16 changes: 16 additions & 0 deletions demo-config-localhost/counting-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"service": {
"name": "counting",
"id": "counting-1",
"port": 9003,
"check": {
"http": "http://localhost:9003/health",
"method": "GET",
"interval": "1s",
"timeout": "1s"
},
"connect": {
"proxy": {}
}
}
}
16 changes: 16 additions & 0 deletions demo-config-localhost/counting-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"service": {
"name": "counting",
"id": "counting-2",
"port": 9004,
"check": {
"http": "http://localhost:9004/health",
"method": "GET",
"interval": "1s",
"timeout": "1s"
},
"connect": {
"proxy": {}
}
}
}
23 changes: 23 additions & 0 deletions demo-config-localhost/dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"service": {
"name": "dashboard",
"port": 9002,
"connect": {
"proxy": {
"config": {
"upstreams": [{
"destination_name": "counting",
"local_bind_port": 9001
}]
}
}
},
"check": {
"id": "dashboard-check",
"http": "http://localhost:9002/health",
"method": "GET",
"interval": "1s",
"timeout": "1s"
}
}
}

0 comments on commit 7ff7275

Please sign in to comment.