smart_ide/projects/enso/conf.json
Nicolas Cantu 1265be0d11 Align enso remote paths with enso-deploy conventions
**Motivations:**
- Project conf remote_data_access should match deploy script variables (absolute paths on target hosts).

**Correctifs:**
- Replace /var/lib/enso/... placeholders with ENSO_REMOTE_ROOT and default docv dossiers-permanents path.
- Use ssh_host_alias values aligned with ENSO_SSH_HOST per env in enso-deploy.env.example.

**Evolutions:**
- Document optional remote_app_root and script references in remote-deployed-data-ssh.md and projects/README.md.
2026-04-03 18:06:37 +02:00

100 lines
2.2 KiB
JSON

{
"id": "enso",
"name": "enso",
"cron": {
"git_pull": true
},
"project_path": "../enso",
"build_dirs": [
".",
"enso/enso-front"
],
"deploy": {
"repository_root": "../enso",
"scripts_path": "../enso/deploy/scripts_v2",
"deploy_script_path": "../enso/deploy/scripts_v2/deploy.sh",
"project_orchestrator_path": "deploy/scripts_v2/deploy.sh",
"secrets_path": "../enso/.secrets"
},
"version": {
"package_json_paths": [
"package.json",
"enso/enso-front/package.json"
],
"splash_app_name": "enso"
},
"mail": {
"imap_bridge_env": ".secrets/gitea-issues/imap-bridge.env"
},
"git": {
"wiki_url": "https://git.4nkweb.com/4nk/enso/wiki",
"token_file": ".secrets/gitea-issues/token"
},
"tickets": {
"ticketing_url": "https://git.4nkweb.com/4nk/enso/issues",
"authorized_emails": {
"to": [
{
"test": "AI.ENSO.TEST@4nkweb.com",
"pprod": "AI.ENSO.PPROD@4nkweb.com",
"prod": "AI.ENSO.PROD@4nkweb.com"
}
],
"from": ["nicolas.4nk@pm.me"]
}
},
"smart_ide": {
"remote_data_access": {
"environments": {
"test": {
"ssh_host_alias": "test",
"remote_app_root": "/home/ncantu/enso",
"remote_data_directories": [
{
"role": "enso_monorepo_clone",
"path_on_server": "/home/ncantu/enso"
},
{
"role": "docv_dp_git_data",
"path_on_server": "/home/ncantu/enso/data/dossiers-permanents"
}
]
},
"pprod": {
"ssh_host_alias": "pprod",
"remote_app_root": "/home/ncantu/enso",
"remote_data_directories": [
{
"role": "enso_monorepo_clone",
"path_on_server": "/home/ncantu/enso"
},
{
"role": "docv_dp_git_data",
"path_on_server": "/home/ncantu/enso/data/dossiers-permanents"
}
]
},
"prod": {
"ssh_host_alias": "prod",
"remote_app_root": "/home/ncantu/enso",
"remote_data_directories": [
{
"role": "enso_monorepo_clone",
"path_on_server": "/home/ncantu/enso"
},
{
"role": "docv_dp_git_data",
"path_on_server": "/home/ncantu/enso/data/dossiers-permanents"
}
]
}
}
},
"anythingllm_workspace_slug": {
"test": "enso-test",
"pprod": "enso-pprod",
"prod": "enso-prod"
}
}
}