Compare commits
5 Commits
50866219fd
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e8c71f3920 | |||
| a90959cb10 | |||
| 6b1e9eef91 | |||
| 00c18ccc7e | |||
| e063e09bd3 |
@@ -36,6 +36,9 @@ public class Program
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Ensure persistent DB directory exists (works with non-root when /share is writable)
|
||||
Directory.CreateDirectory("/share/intentor");
|
||||
|
||||
// Create database file + schema (no migrations tooling required)
|
||||
using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"IntentorDb": "Data Source=/data/intentor.db"
|
||||
"IntentorDb": "Data Source=/share/intentor/intentor.db"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: "Intentor"
|
||||
description: "Intent based automation platform"
|
||||
version: 0.0.6
|
||||
version: 0.0.10
|
||||
slug: "intentor"
|
||||
init: false
|
||||
arch:
|
||||
@@ -12,4 +12,4 @@ ports:
|
||||
webui: "http://[HOST]:[PORT:8080]"
|
||||
homeassistant_api: true
|
||||
map:
|
||||
- data:rw
|
||||
- share:rw
|
||||
Reference in New Issue
Block a user