adminforth icon indicating copy to clipboard operation
adminforth copied to clipboard

Deploying to Cloudflare workers

Open TrilipuT opened this issue 6 months ago • 2 comments

Hey there! Adminforth is exactly what I need - a backoffice for existing API. Just wondering if you had any experience deploying it to cloudflare workers?

TrilipuT avatar Aug 11 '25 18:08 TrilipuT

@TrilipuT hey! Thanks a lot for your feedback Vitaly! About workers - not yet, currently we mainly recommend deploying it as docker server in k8s or swarm or compose or plain docker container created with any other way. So for now in runtime it is one node process which serves on one any http port via subdomain or baseurl. We have some snippets in blogs how to deploy it with e.g. Terraform https://adminforth.dev/blog/compose-ec2-deployment/ So basically you need any VPC (e.g. Amazon EC2 or Google GCE) or docker runtime(e.g. Amazon ECS)

But we will recheck efforts needed to port it to workers

ivictbor avatar Aug 13 '25 11:08 ivictbor

THanks @ivictbor there's Vite integration for Workers. Just curious if Adminforth can be built as regular Vue app so the code can be uploaded to the server as SPA... https://developers.cloudflare.com/workers/vite-plugin/

TrilipuT avatar Aug 14 '25 05:08 TrilipuT