Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions services/laravel/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: laravel
spec:
name: laravel
deploymentstrategy: git
image:
build:
command: composer install; chown -R 1000:1000 /app; mkdir -p storage/framework/cache
storage/framework/sessions storage/framework/views storage/framework/testing
storage/logs storage/app/public
repository: composer
tag: latest
run:
command: apache2-foreground
readOnlyAppStorage: false
repository: ghcr.io/kubero-dev/buildpacks/php
securityContext:
readOnlyRootFilesystem: false
tag: latest
containerPort: "8080"
addons: []
envVars:
- name: APP_NAME
value: Demo
- name: APP_KEY
value: base64:YmhiZ3J6NXV4aGE1bnh6cTh0eXJ0NzFqanozMnRmOXk=
- name: APP_ENV
value: local
- name: APP_DEBUG
value: "false"
cronjobs: []
extraVolumes:
- accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /app/storage
name: laravel-storage
size: 1Gi
web:
replicaCount: 1
worker:
replicaCount: 0
9 changes: 9 additions & 0 deletions services/laravel/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Laravel
description: 'Laravel is a web application framework with expressive, elegant syntax.'
tags:
- framework
- php
source: https://github.com/laravel/laravel
website: https://laravel.com
icon: https://avatars.githubusercontent.com/u/958072?s=200&v=4
screenshots: