Giter Club home page Giter Club logo

laravel-project's Introduction

Task: Setting up a Pipeline in Google Cloud Platform for a PHP-Laravel framework.

  1. GCP pipline to autodeploy PHP-Laravel application in GCP erverless computing service.
  2. Setup autoscalling feature for the orchestration of Docker containers.

Travellist - Laravel GCP Project - Docker Compose commands.

docker compose build -t app
docker compose up -d
docker compose exec app ls -l
docker compose exec app rm -rf vendor composer.lock
docker compose exec app composer install
docker compose exec app php artisan key:generate

Laravel GCP Project - cloudbuild.yaml file structure.

logsBucket: 'gs://react-electron_logs'

enable all the necessary APIs create a service account and add necessary previlages (by default there will be a service account) create a cloud-build service

enable: Identity and Access Management (IAM) API Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.

Roles: Cloud Build Approver Cloud Build Approver Cloud Build Connection Admin Cloud Run Admin Logs Bucket Writer Logs Writer Storage Object Admin

Permission to bucket added: Compute Engine default service account Storage Legacy Bucket Owner

Service account permissions in Cloudbuild: Cloud Functions Cloud Functions Developer Cloud Run Cloud Run Admin Secret Manager Secret Manager Secret Accessor Service Accounts Service Account User Cloud Build Cloud Build WorkerPool user

Task is still incomplete

laravel-project's People

Contributors

mahinshanazeer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.