Update paths for persistent storage and bump version to 0.0.10
This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ public class Program
|
|||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
// Ensure /data exists (Home Assistant add-on persistent storage mount)
|
// Ensure persistent DB directory exists (works with non-root when /share is writable)
|
||||||
Directory.CreateDirectory("/data");
|
Directory.CreateDirectory("/share/intentor");
|
||||||
|
|
||||||
// Create database file + schema (no migrations tooling required)
|
// Create database file + schema (no migrations tooling required)
|
||||||
using (var scope = app.Services.CreateScope())
|
using (var scope = app.Services.CreateScope())
|
||||||
|
|||||||
@@ -7,6 +7,6 @@
|
|||||||
},
|
},
|
||||||
"AllowedHosts": "*",
|
"AllowedHosts": "*",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"IntentorDb": "Data Source=/data/intentor.db"
|
"IntentorDb": "Data Source=/share/intentor/intentor.db"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: "Intentor"
|
name: "Intentor"
|
||||||
description: "Intent based automation platform"
|
description: "Intent based automation platform"
|
||||||
version: 0.0.9
|
version: 0.0.10
|
||||||
slug: "intentor"
|
slug: "intentor"
|
||||||
init: false
|
init: false
|
||||||
arch:
|
arch:
|
||||||
@@ -12,5 +12,4 @@ ports:
|
|||||||
webui: "http://[HOST]:[PORT:8080]"
|
webui: "http://[HOST]:[PORT:8080]"
|
||||||
homeassistant_api: true
|
homeassistant_api: true
|
||||||
map:
|
map:
|
||||||
- type: data
|
- share:rw
|
||||||
read_only: False
|
|
||||||
Reference in New Issue
Block a user