Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine AS base
FROM node:24-alpine AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
Expand Down
21 changes: 15 additions & 6 deletions packages/ws-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ This package contains:

The mock services allow lightweight and controlled testing of the interfaces between them.

## Docker

To build and run the worker as a Docker image locally:

```bash
docker build -t openfn-worker .
docker run --network host -e WORKER_SECRET=$WORKER_SECRET -e WORKER_LIGHTNING_SERVICE_URL="ws://localhost:4000/worker" openfn-worker
```

## Getting started

To use this server:
Expand Down Expand Up @@ -98,12 +107,12 @@ remaining capacity serve general work.

### Syntax

| Element | Meaning |
|---------|---------|
| `>` | Queue preference separator (left = highest priority) |
| `*` | Wildcard: accept runs from any queue (must be last) |
| `:N` | Number of slots for this group |
| ` ` (space) | Group separator |
| Element | Meaning |
| ----------- | ---------------------------------------------------- |
| `>` | Queue preference separator (left = highest priority) |
| `*` | Wildcard: accept runs from any queue (must be last) |
| `:N` | Number of slots for this group |
| ` ` (space) | Group separator |

### Examples

Expand Down