Skip to content

Commit

Permalink
actualizada imagen de frontend, añadidas reglas de nginx, añadido grp…
Browse files Browse the repository at this point in the history
…c web proxy
  • Loading branch information
kanolato committed May 28, 2018
1 parent 343fac0 commit bc452e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions grpc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ services:
ports:
- 8787:80
adminfrontend:
image: circulo7/cursos-k8s-admin-frontend:beta
image: circulo7/cursos-k8s-admin-frontend:grpc-0.0.4
ports:
- 3030:3030
- 3030:3030
grpc-web-proxy:
image: circulo7/grpc-web-proxy
environment:
BACKEND_ADDRESS: inventarioserver:6565
PORT: 8080

5 changes: 5 additions & 0 deletions grpc/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ http {
proxy_pass http://productRestGateway:9090/v1/products;
}

#GRPC WEB PROXY
location /com.circulosiete.cursos.k8s.ProductService {
proxy_pass http://grpc-web-proxy:8080;
}


#error_page 404 /404.html;

Expand Down

0 comments on commit bc452e6

Please sign in to comment.