summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.runway/runway.yml2
-rw-r--r--Dockerfile2
-rw-r--r--Makefile4
-rw-r--r--etc/envoy/envoy.yaml2
4 files changed, 5 insertions, 5 deletions
diff --git a/.runway/runway.yml b/.runway/runway.yml
index a82a3911..d27f3c03 100644
--- a/.runway/runway.yml
+++ b/.runway/runway.yml
@@ -7,7 +7,7 @@ metadata:
owner_email_handle: mkhan
product_category: authorization
spec:
- container_port: 50051
+ container_port: 8080
deployment:
strategy: "expedited"
regions:
diff --git a/Dockerfile b/Dockerfile
index 7c4ec9a5..234ca103 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y wget && \
# Final stage
FROM gcr.io/distroless/base-debian12:nonroot
-EXPOSE 9901 10000 50051
+EXPOSE 8080 50051
WORKDIR /
COPY --from=authzd-builder /app/Procfile /Procfile
COPY --from=authzd-builder /app/etc/authzd /etc/authzd
diff --git a/Makefile b/Makefile
index 0d86c903..fb1913f1 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,11 @@ build-image:
@docker build --tag $(IMAGE_TAG) .
run-image: build-image
- @docker run --rm -p 10000:10000 -p 9901:9901 --init -it $(IMAGE_TAG)
+ @docker run --rm -p 8080:8080 -p 50051:50051 --init -it $(IMAGE_TAG)
# HTTP and gRPC testing targets
health-check:
- @curl -s http://localhost:10000/health || echo "Service not running"
+ @grpcurl -plaintext localhost:50051 grpc.health.v1.Health/Check
list-services:
@grpcurl -plaintext localhost:50051 list
diff --git a/etc/envoy/envoy.yaml b/etc/envoy/envoy.yaml
index 31b29c80..30c5529f 100644
--- a/etc/envoy/envoy.yaml
+++ b/etc/envoy/envoy.yaml
@@ -56,7 +56,7 @@ static_resources:
socket_address:
protocol: TCP
address: 0.0.0.0
- port_value: 10000
+ port_value: 8080
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager