Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
services:
frontend:
image: node:26-alpine
working_dir: /app
volumes:
- .:/app
- /app/node_modules
env_file:
- example.env
command: sh -c "npm install && npm start"
ports:
- "8082:8082"

registry:
image: registry:2
ports:
- "5000:5000"
volumes:
- biochef-registry:/var/lib/registry
- ./registry-config.yml:/etc/docker/registry/config.yml:ro

volumes:
biochef-registry:
13 changes: 10 additions & 3 deletions example.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# url where the website will fetch the tools
# use http://localhost:5000 if using the docker compose
REGISTRY_URL=http://localhost:5000
REPO_OWNER=Biochef
REGISTRY_USERNAME=Biochef
REGISTRY_PASSWORD=ghp_1234567890abcdefghijklmnopqrstuvwxYZ12

# owner of the github repository
# this is only used if using ghcr
REPO_OWNER=

# credentials for the registry
REGISTRY_USERNAME=
REGISTRY_PASSWORD=
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@biowasm/aioli": "^3.2.1",
"@biowasm/aioli": "github:WildBunnie/aioli",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
Expand Down
19 changes: 19 additions & 0 deletions registry-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
Access-Control-Allow-Origin: ["*"]
Access-Control-Allow-Headers: ["Authorization", "X-Requested-With", "Content-Type"]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
1 change: 0 additions & 1 deletion src/utils/aioli-custom/aioli.js

This file was deleted.

252 changes: 0 additions & 252 deletions src/utils/aioli-custom/aioli.mjs

This file was deleted.

9 changes: 8 additions & 1 deletion src/utils/toolUtils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Aioli from "./aioli-custom/aioli"
import Aioli from "@biowasm/aioli";
import logger from "./logger";
import { detectIsBinaryFile } from "./detectDataType";
import { makeBinaryDataValue, makeTextDataValue } from './dataValue'
Expand Down Expand Up @@ -469,4 +469,11 @@ export function toolHasNoInputs(toolName) {
if (!tool) return true;

return !tool.io?.inputs || tool.io.inputs.length === 0;
}

export function getToolRuntimes(toolName) {
const tool = getTool(toolName);
if (!tool) return;

return tool.runtime?.modes
}