Skip to content

vishwarajanand/php-apache-grpc-protobuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-apache-grpc-protobuf

This repository helps developers create a docker container whereby a PHP code can be run to serve requests over apache server. Much of the configuration is sourced from Google Doc: Deploy a PHP app in a container image.

Usage Instructions

The built image is available publicly in dockerhub.io. And can be consumed in other Dockerfile as follows:

FROM vishwaraj00/php-latest-apache-grpc-protobuf as build

Steps to Run Locally

  1. docker build -t vishwaraj00/php-latest-apache-grpc-protobuf .
  2. docker push vishwaraj00/php-latest-apache-grpc-protobuf

Steps to Run on gCloud

Run the following command to execute this cloudbuild:

gcloud builds submit . --config=cloudbuild.yaml

CI/CD

A Google Cloud Build is triggered on main branch of this repo, which automatically builds a docker image from Dockerfile and pushes to dockerhub for immediate public use typically in about ~30 mins.

Google Cloud Build Trigger Private Link

Cloud Trigger Settings

About

This repository helps developers create a docker container whereby a PHP code can be run to serve requests over apache server. Official images: https://github.com/googleapis/testing-infra-docker/tree/main/php

Topics

Resources

License

Stars

Watchers

Forks