chore: use bind mount for database data
This commit is contained in:
+3
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user