Skip to main content

How to Deploy Wiki.js

Wiki.js can be deployed as a docker container, therefore it can also be deployed in any serverless platform that is capable of running contanized images.

Cloud Run

Cloud Run is one of the serverless platforms offered by GCP. Try to deploy the Wiki.js official Docker image from Docker Hub by entering requarks/wiki:2 as the image URL, or requarks/wiki:latest if you want to always tag the latest release. The region can be anywhere close to you.

cloud-run-setup-image-url.png

If the website is publicly facing, Allow unauthenticated invocations should be toggled on. Set the minimum number of instances to 0 if you want Cloud Run to automatically scale to 0 when there's no incoming requests. It comes with the cost of cold starts as the server needs to boot up after a long period of idle time.

cloud-run-setup-scaling.png