feat(FN-008): replace RunFusion with OpenCode manifest
- Remove runfusion.yml, add opencode.yml with web terminal config - Update all references across codebase (tests, docs, specs) - Add OpenCode container setup with port 3000 and health checks
This commit is contained in:
+14
-18
@@ -1,11 +1,11 @@
|
|||||||
id: runfusion
|
id: opencode
|
||||||
name: RunFusion
|
name: OpenCode
|
||||||
description: Executable Node.js environment for running and developing applications.
|
description: AI-powered terminal-based development environment with web interface.
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
image: node:22-slim
|
image: ghcr.io/opencode-ai/opencode:latest
|
||||||
runtime_working_dir: /workspace
|
runtime_working_dir: /workspace
|
||||||
ports:
|
ports:
|
||||||
- container_port: 8080
|
- container_port: 3000
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
name: http
|
name: http
|
||||||
primary: true
|
primary: true
|
||||||
@@ -16,31 +16,27 @@ workspace_mounts:
|
|||||||
read_only: false
|
read_only: false
|
||||||
config_mounts:
|
config_mounts:
|
||||||
- type: volume
|
- type: volume
|
||||||
source_pattern: "{user_config}/runfusion"
|
source_pattern: "{user_config}/opencode"
|
||||||
target: /home/node/.config
|
target: /root/.config/opencode
|
||||||
read_only: false
|
read_only: false
|
||||||
env:
|
env:
|
||||||
NODE_ENV: development
|
TERM: xterm-256color
|
||||||
|
FORCE_COLOR: "1"
|
||||||
health_check:
|
health_check:
|
||||||
type: http
|
type: http
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 3000
|
||||||
interval_seconds: 10
|
interval_seconds: 10
|
||||||
timeout_seconds: 5
|
timeout_seconds: 5
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period_seconds: 10
|
start_period_seconds: 15
|
||||||
resource_limits:
|
resource_limits:
|
||||||
cpus: 2.0
|
cpus: 2.0
|
||||||
memory_mb: 2048
|
memory_mb: 4096
|
||||||
memory_swap_mb: -1
|
memory_swap_mb: -1
|
||||||
executable:
|
|
||||||
node_version: "22"
|
|
||||||
package_manager: npm
|
|
||||||
bootstrap_commands: []
|
|
||||||
install_commands: []
|
|
||||||
traefik:
|
traefik:
|
||||||
enabled: true
|
enabled: true
|
||||||
subdomain_prefix: runfusion
|
subdomain_prefix: opencode
|
||||||
port: 8080
|
port: 3000
|
||||||
middlewares: []
|
middlewares: []
|
||||||
strip_prefix: false
|
strip_prefix: false
|
||||||
Reference in New Issue
Block a user