Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/acadevmy/cloud-run-wordpress
- Owner: acadevmy
- License: apache-2.0
- Created: 2019-06-10T08:23:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T18:12:46.000Z (over 4 years ago)
- Last Synced: 2024-11-03T18:34:02.933Z (2 months ago)
- Topics: docker, google-cloud-platform, google-cloud-run, google-cloud-sql, serverless, wordpress
- Language: PHP
- Size: 11.7 KB
- Stars: 31
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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='::'
```