Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/acadevmy/cloud-run-wordpress

Deploy a Wordpress site on Google Cloud Run
https://github.com/acadevmy/cloud-run-wordpress

docker google-cloud-platform google-cloud-run google-cloud-sql serverless wordpress

Last synced: about 1 month ago
JSON representation

Deploy a Wordpress site on Google Cloud Run

Awesome Lists containing this project

README

        

# cloud-run-wordpress
Medium article: [Deploy a Wordpress site on Google Cloud Run](https://medium.com/@salvopappalardo/how-to-install-a-wordpress-site-on-google-cloud-run-828bdc0d0e96)

# Deploy steps
## Build image
```sh
gcloud builds submit --tag gcr.io/[PROJECT-ID]/wp:v1
```
## Deploy image
```
gcloud beta run deploy wp --image gcr.io/[PROJECT-ID]/wp:v1 \
--add-cloudsql-instances \
--update-env-vars DB_HOST='127.0.0.1',DB_NAME=,DB_USER=,DB_PASSWORD=,CLOUDSQL_INSTANCE='::'
```