summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-14 14:40:51 -0600
committermo khan <mo@mokhan.ca>2025-07-14 14:40:51 -0600
commit24d5c2cfbec143a47f1128472389e09e54435f27 (patch)
tree89a5a7cc70e0d30f16cc05e44240fbc986d9ffa6
parent73e7880ca39983a386955b783e1a73fd947b2534 (diff)
chore: add shell script to shim request to spicedb
-rw-r--r--Procfile2
-rwxr-xr-xbin/spicedb3
2 files changed, 4 insertions, 1 deletions
diff --git a/Procfile b/Procfile
index 4db49ea7..923aa187 100644
--- a/Procfile
+++ b/Procfile
@@ -1,3 +1,3 @@
authzd: ./bin/authzd server --addr 127.0.0.1:50052
envoy: ./bin/envoy -c ./etc/envoy/envoy.yaml --base-id 1 --log-level warn --component-log-level admin:warn,connection:warn,grpc:warn,http:warn,http2:warn,router:warn,upstream:warn
-spicedb: spicedb serve --grpc-preshared-key "secret" --http-addr :8080 --grpc-addr :50051 --datastore-engine memory
+spicedb: ./bin/spicedb serve --grpc-preshared-key "secret" --http-addr :8080 --grpc-addr :50051 --datastore-engine memory
diff --git a/bin/spicedb b/bin/spicedb
new file mode 100755
index 00000000..acd1ee09
--- /dev/null
+++ b/bin/spicedb
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec spiced $@