chore: use bind mount for database data
This commit is contained in:
+3
-4
@@ -13,7 +13,9 @@ services:
|
|||||||
read_only: true
|
read_only: true
|
||||||
bind:
|
bind:
|
||||||
create_host_path: false
|
create_host_path: false
|
||||||
- router-data:/app/data
|
- type: bind
|
||||||
|
source: ./data
|
||||||
|
target: /app/data
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
@@ -30,6 +32,3 @@ services:
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
volumes:
|
|
||||||
router-data:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user