From ea480f8f144fe01428870b974e64ac45dad02c4e Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Mon, 15 Jul 2024 08:44:31 +0800 Subject: [PATCH] Persist /etc/kafka as volume mount to try resolve permission denied in github actions --- docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index a59ca30..5cf31b5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -488,7 +488,8 @@ - "9092:9092" "user": "${CURRENT_UID}" "volumes": - - "./data/kafka/persist:/var/lib/kafka/data" + - "./data/kafka/persist/data:/var/lib/kafka/data" + - "./data/kafka/persist/etc:/etc/kafka" "keycloak": "command": ["start-dev", "--import-realm"] "container_name": "keycloak"