server: use single XDG server database

This commit is contained in:
2026-07-24 08:45:51 +09:00
parent 19d5396897
commit 4ff599c011
16 changed files with 293 additions and 485 deletions
+4 -5
View File
@@ -262,14 +262,13 @@ in
Entrypoint = [ "/bin/yoi-workspace-server" ];
Cmd = [
"serve"
"--workspace"
"/workspace"
"--db"
"/server-data/workspace.db"
"--listen"
"0.0.0.0:8787"
];
Env = [ "PATH=/bin" ] ++ commonEnv;
Env = [
"PATH=/bin"
"YOI_DATA_DIR=/server-data"
] ++ commonEnv;
ExposedPorts = {
"8787/tcp" = { };
};