11schemaVersion : 2.2.0
22metadata :
33 name : elohim-devspace
4- displayName : Che Image and Workspace Development
4+ displayName : Holochain + Angular Development Environment
55 description : >-
6- Universal Developer Image provides various programming languages tools and
7- runtimes for instant coding, plus ai utilities
6+ Full-stack development with Holochain (Rust/Nix) backend and Angular frontend,
7+ plus Claude AI utilities
88 icon : >-
99 https://raw.githubusercontent.com/devfile/devfile-web/main/apps/landing-page/public/pwa-192x192.png
1010 tags :
11- - Java
12- - Maven
13- - Scala
14- - PHP
15- - .NET
11+ - Rust
12+ - Nix
13+ - Holochain
14+ - Angular
1615 - Node.js
17- - Go
18- - Python
19- - Pip
16+ - Java
2017 - ubi9
2118 - Claude
22- projectType : universal
19+ projectType : holochain
2320 language : Polyglot
24- version : 1.0.0
25- projects :
26- - name : che-devworkspaces
21+ version : 2.0.0
22+
23+ projects :
24+ - name : elohim
2725 git :
2826 remotes :
29- origin : https://github.com/ethosengine/che-devworkspaces.git
27+ origin : https://github.com/ethosengine/elohim.git
28+
3029components :
3130 - name : tools
3231 container :
33- image : harbor.ethosengine.com/devspaces/udi-plus-angular:latest
34- memoryLimit : 6G
35- memoryRequest : 2G
32+ image : harbor.ethosengine.com/devspaces/rust-nix-dev:latest
33+ memoryLimit : 8Gi
34+ memoryRequest : 2Gi
35+ cpuLimit : ' 2'
36+ cpuRequest : ' 500m'
3637 mountSources : true
38+ sourceMapping : /projects
3739 env :
40+ # Claude and general config
3841 - name : CLAUDE_CONFIG_DIR
3942 value : /projects/.claude-config
43+ - name : USER
44+ value : user
45+ - name : RUST_BACKTRACE
46+ value : ' 1'
47+ # XDG directories - use /nix-xdg subdirs (persists in nix PVC)
48+ - name : XDG_CACHE_HOME
49+ value : /nix-xdg/cache
50+ - name : XDG_DATA_HOME
51+ value : /nix-xdg/data
52+ - name : XDG_STATE_HOME
53+ value : /nix-xdg/state
4054 - name : XDG_CONFIG_HOME
41- value : /projects/. config
55+ value : /nix-xdg/ config
4256 - name : NPM_CONFIG_CACHE
43- value : /tmp/npm- cache
57+ value : /nix-xdg/ cache/npm
4458 - name : CYPRESS_CACHE_FOLDER
45- value : /tmp/cypress-cache
59+ value : /nix-xdg/cache/cypress
60+ # Jenkins integration
4661 - name : JENKINS_URL
4762 value : " https://jenkins.ethosengine.com"
63+ # Chrome for Angular testing
4864 - name : CHROME_BIN
4965 value : /usr/local/bin/chrome
5066 - name : CHROME_PATH
51- value : /opt/chrome-linux64/chrome
67+ value : /opt/chrome-linux64/chrome
5268 endpoints :
5369 - name : angular-dev
5470 targetPort : 4200
@@ -58,6 +74,39 @@ components:
5874 targetPort : 4201
5975 exposure : public
6076 protocol : http
77+ - name : hc-app
78+ targetPort : 8080
79+ exposure : public
80+ protocol : https
81+ - name : hc-admin
82+ targetPort : 8888
83+ exposure : internal
84+ volumeMounts :
85+ - name : nix-store
86+ path : /nix
87+ - name : nix-xdg
88+ path : /nix-xdg
89+ - name : cargo-cache
90+ path : /home/user/.cargo
91+ - name : rustup-cache
92+ path : /home/user/.rustup
93+
94+ # Nix store volume - required for Nix/Holochain tooling
95+ - name : nix-store
96+ volume :
97+ size : 25Gi
98+ # XDG directories for Nix cache/config
99+ - name : nix-xdg
100+ volume :
101+ size : 2Gi
102+ # Cargo cache - dependency artifacts and incremental builds
103+ - name : cargo-cache
104+ volume :
105+ size : 3Gi
106+ # Rustup toolchain cache
107+ - name : rustup-cache
108+ volume :
109+ size : 2Gi
61110commands :
62111 - id : setup-npm-env
63112 exec :
@@ -101,10 +150,10 @@ commands:
101150 --header "Authorization: Basic $JENKINS_AUTH" \
102151 --env JENKINS_URL="$JENKINS_URL" \
103152 --env JENKINS_USERNAME="$JENKINS_USERNAME" \
104- --env JENKINS_TOKEN="$JENKINS_TOKEN"
153+ --env JENKINS_TOKEN="$JENKINS_TOKEN"
105154
106- events :
107- postStart :
108- - setup-vscode-cli
109- - setup-npm-env
110- - setup-claude-mcp
155+ # events:
156+ # postStart:
157+ # - setup-vscode-cli
158+ # - setup-npm-env
159+ # - setup-claude-mcp
0 commit comments