Home - dteck/Mediawiki-GCP-CR GitHub Wiki
These pages will walk though how to set up a Wikipedia style (Media Wiki) page on Google Cloud Platform (GCP).
Media wiki the organization that maintains the underlying code for Wikipedia offers the source code to anyone who wants to use it. They also package their code into docker images so people can spin up containers with minimal set up. This project takes those images and modifies them so that they can be run stateless on Google Cloud Run Instances instead of being run on dedicated virtual machines.
The steps we need to take to set up the infrastructure and to create our custom images are not overly complicated but there is a bit of back and forth that needs to happen to set up our services, set up the page, and then secure everything. The diagram below shows the steps we will be following to complete this setup.
System Diagram: Google Cloud Run Stateless
-
Creating a Cloud SQL Database
-
Creating Storage Buckets
-
Creating a Service Account
-
Creating an Artifact Registry
-
Creating a Custom Docker Image
-
Uploading the Custom Docker Image
-
Creating a Cloud Run Instance
-
Setting Up your Wiki
-
Securing Cloud SQL
-
Modifying and Uploading Wiki Configuration Files
-
Updating Cloud Run Variables