refactor: update default stack image to flexinit/agent-stack

Replace oh-my-opencode-free references with the new consolidated
flexinit/agent-stack image in source code and documentation.
This commit is contained in:
Oussama Douhou
2026-01-10 22:10:21 +01:00
parent 402d225979
commit 3d056f1348
5 changed files with 6 additions and 6 deletions

View File

@@ -213,7 +213,7 @@ data: {"url":"https://john-dev.ai.flexinit.nl","status":"ready"}
- `PORT` - HTTP server port (default: `3000`)
- `HOST` - Bind address (default: `0.0.0.0`)
- `STACK_DOMAIN_SUFFIX` - Domain suffix for stacks (default: `ai.flexinit.nl`)
- `STACK_IMAGE` - Docker image for user stacks (default: `git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest`)
- `STACK_IMAGE` - Docker image for user stacks (default: `git.app.flexinit.nl/flexinit/agent-stack:latest`)
- `RESERVED_NAMES` - Comma-separated forbidden names (default: `admin,api,www,root,system,test,demo,portal`)
### Not Used in Deployment
@@ -299,7 +299,7 @@ Available MCP tools:
- **Wildcard DNS**: `*.ai.flexinit.nl` → `144.76.116.169`
- **Traefik**: Wildcard SSL certificate for `*.ai.flexinit.nl`
- **Dokploy**: Running at `http://10.100.0.20:3000`
- **OpenCode Image**: `git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest`
- **OpenCode Image**: `git.app.flexinit.nl/flexinit/agent-stack:latest`
### Network Access

View File

@@ -16,7 +16,7 @@ services:
- DOKPLOY_URL=${DOKPLOY_URL}
- DOKPLOY_API_TOKEN=${DOKPLOY_API_TOKEN}
- STACK_DOMAIN_SUFFIX=${STACK_DOMAIN_SUFFIX:-ai.flexinit.nl}
- STACK_IMAGE=${STACK_IMAGE:-git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest}
- STACK_IMAGE=${STACK_IMAGE:-git.app.flexinit.nl/flexinit/agent-stack:latest}
- RESERVED_NAMES=${RESERVED_NAMES:-admin,api,www,root,system,test,demo,portal}
env_file:
- .env

View File

@@ -266,7 +266,7 @@ DOKPLOY_API_TOKEN=${DOKPLOY_API_TOKEN}
PORT=3000
HOST=0.0.0.0
STACK_DOMAIN_SUFFIX=${STACK_DOMAIN_SUFFIX:-ai.flexinit.nl}
STACK_IMAGE=${STACK_IMAGE:-git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest}
STACK_IMAGE=${STACK_IMAGE:-git.app.flexinit.nl/flexinit/agent-stack:latest}
RESERVED_NAMES=${RESERVED_NAMES:-admin,api,www,root,system,test,demo,portal}"
CREATE_APP_RESPONSE=$(curl -s -X POST \

View File

@@ -83,7 +83,7 @@ async function deployStack(deploymentId: string): Promise<void> {
// Execute deployment with production orchestrator
const result = await deployer.deploy({
stackName: deployment.stackName,
dockerImage: process.env.STACK_IMAGE || 'git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest',
dockerImage: process.env.STACK_IMAGE || 'git.app.flexinit.nl/flexinit/agent-stack:latest',
domainSuffix: process.env.STACK_DOMAIN_SUFFIX || 'ai.flexinit.nl',
port: 8080,
healthCheckTimeout: 180000,

View File

@@ -108,7 +108,7 @@ async function deployStack(name: string): Promise<DeploymentState> {
deployment.status = 'creating_application';
deployments.set(deploymentId, { ...deployment });
const dockerImage = process.env.STACK_IMAGE || 'git.app.flexinit.nl/oussamadouhou/oh-my-opencode-free:latest';
const dockerImage = process.env.STACK_IMAGE || 'git.app.flexinit.nl/flexinit/agent-stack:latest';
const application = await dokployClient.createApplication(
`opencode-${normalizedName}`,
project.projectId,