Updating envoy to handle API request, proxy to app-service, doesn't have to come from /app/api.
This commit is contained in:
parent
b4a3f2282c
commit
711e44a3b8
|
@ -20,6 +20,10 @@ static_resources:
|
||||||
route:
|
route:
|
||||||
cluster: app-service
|
cluster: app-service
|
||||||
prefix_rewrite: "/"
|
prefix_rewrite: "/"
|
||||||
|
|
||||||
|
# special case for when API requests are made, can just forward, not to minio
|
||||||
|
- match: { prefix: "/api/" }
|
||||||
|
cluster: app-service
|
||||||
|
|
||||||
- match: { prefix: "/worker/" }
|
- match: { prefix: "/worker/" }
|
||||||
route:
|
route:
|
||||||
|
|
|
@ -1,14 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo apt-get install \
|
echo "**** WARNING - not for production environments ****"
|
||||||
apt-transport-https \
|
# warning this is a convience script, for production installations install docker
|
||||||
ca-certificates \
|
# properly for your environment!
|
||||||
curl \
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
gnupg-agent \
|
sudo sh get-docker.sh
|
||||||
software-properties-common
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
|
||||||
sudo add-apt-repository \
|
|
||||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
|
||||||
$(lsb_release -cs) \
|
|
||||||
stable"
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install docker-ce docker-ce-cli containerd.io
|
|
||||||
|
|
Loading…
Reference in New Issue