diff --git a/services/laravel/app.yaml b/services/laravel/app.yaml new file mode 100644 index 000000000..d9fe28a00 --- /dev/null +++ b/services/laravel/app.yaml @@ -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 \ No newline at end of file diff --git a/services/laravel/service.yaml b/services/laravel/service.yaml new file mode 100644 index 000000000..d941f0d43 --- /dev/null +++ b/services/laravel/service.yaml @@ -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: \ No newline at end of file