mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-01 16:59:32 +01:00
feat(docker): add Compose deployment support
This commit is contained in:
1 parent
a51563ce1f
commit
b85f7659b7
16 files changed
+631
-18
No files matched your search
@@ -26,7 +26,9 @@ import { SYNTHETIC_ADMIN, findUser } from '../user-store.js';
|
||||
|
||||
// Shared path constants used across route modules. CASES_DIR (project folders)
|
||||
// stays shared across instances; SETTINGS_PATH is per-instance runtime state.
|
||||
export const CASES_DIR = join(homedir(), 'codeman-cases');
|
||||
// Docker Compose deployments set CODEMAN_CASES_PATH to a host-absolute bind
|
||||
// mount so Docker cases can share the same workspace path with the host daemon.
|
||||
export const CASES_DIR = process.env.CODEMAN_CASES_PATH || join(homedir(), 'codeman-cases');
|
||||
export const SETTINGS_PATH = dataPath('settings.json');
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user