From 7e2a4157aa1197682c0d8254ed2eb70f0e032aa9 Mon Sep 17 00:00:00 2001 From: m1saka Date: Fri, 23 Oct 2026 20:23:16 +0800 Subject: [PATCH] chore: use bind mount for database data --- compose.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/compose.yaml b/compose.yaml index e7f1684..c0e8fd4 100644 --- a/compose.yaml +++ b/compose.yaml @@ -13,7 +13,9 @@ services: read_only: true bind: create_host_path: false - - router-data:/app/data + - type: bind + source: ./data + target: /app/data security_opt: - no-new-privileges:true cap_drop: @@ -30,6 +32,3 @@ services: options: max-size: "10m" max-file: "3" - -volumes: - router-data: