summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.runway/runway.yml2
-rw-r--r--Dockerfile2
-rw-r--r--Makefile6
-rw-r--r--etc/envoy/envoy.yaml2
4 files changed, 6 insertions, 6 deletions
diff --git a/.runway/runway.yml b/.runway/runway.yml
index d27f3c03..2824fe1d 100644
--- a/.runway/runway.yml
+++ b/.runway/runway.yml
@@ -7,7 +7,7 @@ metadata:
owner_email_handle: mkhan
product_category: authorization
spec:
- container_port: 8080
+ container_port: 20000
deployment:
strategy: "expedited"
regions:
diff --git a/Dockerfile b/Dockerfile
index 234ca103..ecb28272 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 8080 50051
+EXPOSE 20000
WORKDIR /
COPY --from=authzd-builder /app/Procfile /Procfile
COPY --from=authzd-builder /app/etc/authzd /etc/authzd
diff --git a/Makefile b/Makefile
index fb1913f1..6eb1ec31 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,11 @@ build-image:
@docker build --tag $(IMAGE_TAG) .
run-image: build-image
- @docker run --rm -p 8080:8080 -p 50051:50051 --init -it $(IMAGE_TAG)
+ @docker run --rm -p 20000:20000 --init -it $(IMAGE_TAG)
# HTTP and gRPC testing targets
health-check:
- @grpcurl -plaintext localhost:50051 grpc.health.v1.Health/Check
+ @grpcurl -plaintext localhost:20000 grpc.health.v1.Health/Check
list-services:
- @grpcurl -plaintext localhost:50051 list
+ @grpcurl -plaintext localhost:20000 list
diff --git a/etc/envoy/envoy.yaml b/etc/envoy/envoy.yaml
index be6b5005..d84a10e2 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: 8080
+ port_value: 20000
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager