Skip to content

Commit

Permalink
build(dev): Dev proxy for local Docker backend (#141)
Browse files Browse the repository at this point in the history
The local Docker backend runs all the services behind a proxy on localhost. This proxy table routes requests to each service.
  • Loading branch information
eatyourgreens authored Sep 17, 2024
1 parent 2641650 commit 54dad4e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions frontend/dev-proxy/proxy-table.docker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"/raster": {
"target": "http://localhost",
"changeOrigin": true,
"pathRewrite": {
"^/raster": "/raster"
}
},
"/vector": {
"target": "http://localhost",
"changeOrigin": true,
"pathRewrite": {
"^/vector": "/vector"
}
},
"/api": {
"target": "http://localhost",
"changeOrigin": true,
"pathRewrite": {
"^/api": "/api"
}
}
}

0 comments on commit 54dad4e

Please sign in to comment.