Github Repo: vorker
Vorker is a simple self host cloudflare worker alternative which built with cloudflare's workerd.

example:
mkdir vorker && cd vorker
curl -fSL -O https://github.com/cloudflare/workerd/releases/download/v1.20230518.0/workerd-linux-64.gz
gzip -d workerd-linux-64.gz
docker-compose up -d.docker run -dit --name=vorker \
-e DB_PATH=/path/to/workerd/db.sqlite \
-e WORKERD_DIR=/path/to/workerd \
-e WORKERD_BIN_PATH=/bin/workerd \
-e DB_TYPE=sqlite \
-e WORKER_LIMIT=10000 \
-e WORKER_PORT=8080 \
-e API_PORT=8888 \
-e LISTEN_ADDR=0.0.0.0 \
-e WORKER_URL_SUFFIX=.example.com \ # concat with worker name and scheme
-e SCHEME=http \ # external scheme
-e ENABLE_REGISTER=false \
-e COOKIE_NAME=authorization \
-e COOKIE_AGE=21600 \
-e COOKIE_DOMAIN=localhost # change it to your domain \
-e JWT_SECRET=xxxxxxx \
-e JWT_EXPIRETIME=6 \
-p 8080:8080 \
-p 8888:8888 \
-v $PWD/workerd:/path/to/workerd \
-v $PWD/workerd-linux-64:/bin/workerd \
vaalacat/vorker:latest
# this is a example, you can change the env to fit your need
# for this example, you can visit http://localhost:8888/admin to access the web ui
# and the worker URL will be: SCHEME://WORKER_NAME.example.com
visit http://localhost:8888/admin to control your worker.
curl localhost:8080 -H "Host: workername" # replace workername with your worker name
Content type
Image
Digest
sha256:212179796…
Size
180.7 MB
Last updated
about 2 years ago
docker pull vaalacat/vorker