From 2fbfbbf7cc0feda40978079fcc9e11a55550464c Mon Sep 17 00:00:00 2001 From: Mark McLaughlin Date: Tue, 18 Jun 2024 11:34:22 +0100 Subject: [PATCH] Replace rebac with relations-api in docker compose config. --- docker-compose.yaml | 4 ++-- spicedb/start-relations-api.sh | 2 +- spicedb/stop-relations-api.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 37bbcb6..f326a26 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,5 @@ services: - rebac: + relations-api: image: "quay.io/cloudservices/kessel-relations:latest" environment: - "SPICEDB_PRESHARED=${SPICEDB_GRPC_PRESHARED_KEY}" @@ -7,7 +7,7 @@ services: - "SPICEDB_ENDPOINT=spicedb:50051" build: dockerfile: Dockerfile - profiles: ["rebac"] + profiles: ["relations-api"] secrets: - spicedb_pre_shared restart: "always" diff --git a/spicedb/start-relations-api.sh b/spicedb/start-relations-api.sh index 5ccaef3..cc80d3b 100755 --- a/spicedb/start-relations-api.sh +++ b/spicedb/start-relations-api.sh @@ -3,4 +3,4 @@ set -e # Function to check if a command is available source ./spicedb/check_docker_podman.sh -${DOCKER} compose --env-file ./spicedb/.env --profile rebac -f ./docker-compose.yaml up -d --build \ No newline at end of file +${DOCKER} compose --env-file ./spicedb/.env --profile relations-api -f ./docker-compose.yaml up -d --build \ No newline at end of file diff --git a/spicedb/stop-relations-api.sh b/spicedb/stop-relations-api.sh index 157a754..c00d17a 100755 --- a/spicedb/stop-relations-api.sh +++ b/spicedb/stop-relations-api.sh @@ -2,4 +2,4 @@ set -e # Function to check if a command is available source ./spicedb/check_docker_podman.sh -${DOCKER} compose --env-file ./spicedb/.env --profile rebac -f docker-compose.yaml down \ No newline at end of file +${DOCKER} compose --env-file ./spicedb/.env --profile relations-api -f docker-compose.yaml down \ No newline at end of file