- GCP pipline to autodeploy PHP-Laravel application in GCP erverless computing service.
- Setup autoscalling feature for the orchestration of Docker containers.
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
logsBucket: 'gs://react-electron_logs'
steps:
- name: 'node:14'
entrypoint: 'bash'
args:
- '-c'
- 'npm install'
- name: 'gcr.io/cloud-builders/npm'
entrypoint: 'bash'
args:
- '-c'
- 'npm install concurrently --save-dev'
- name: 'gcr.io/cloud-builders/npm'
entrypoint: 'npm'
args:
- 'run'
- 'build'