From 127bf0de9d2a62974784af12a2c4e33a097547d0 Mon Sep 17 00:00:00 2001 From: yuanbo7 Date: Wed, 17 Jun 2026 14:45:49 +0800 Subject: [PATCH] fix: add mounts for external libraries in docker-compose to prevent startup issues (missing database connector driver) when using an external database datasource other than H2 (#6389) --- .../src/main/resources/docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/docker-compose.yaml b/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/docker-compose.yaml index d89b11ff3f5d..f2f0ad1c14dc 100644 --- a/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/docker-compose.yaml +++ b/shenyu-dist/shenyu-docker-compose-dist/src/main/resources/docker-compose.yaml @@ -25,6 +25,7 @@ services: volumes: - ./shenyu-bootstrap/logs/:/opt/shenyu-bootstrap/logs - ./shenyu-bootstrap/conf/:/opt/shenyu-bootstrap/conf + - ./shenyu-bootstrap/ext-lib/:/opt/shenyu-bootstrap/ext-lib depends_on: - shenyu-admin environment: @@ -39,6 +40,7 @@ services: volumes: - ./shenyu-admin/logs/:/opt/shenyu-admin/logs - ./shenyu-admin/conf/:/opt/shenyu-admin/conf + - ./shenyu-admin/ext-lib/:/opt/shenyu-admin/ext-lib ports: - "9095:9095" healthcheck: