feat: cd
CI / 🧪 Tests Laravel (push) Successful in 1m57s
CI / 🐳 Build & Push Image (push) Successful in 1m34s

This commit is contained in:
2026-07-16 16:08:18 +02:00
parent 3ed951b506
commit 573718b38f
4 changed files with 49 additions and 11 deletions
+12 -4
View File
@@ -5,8 +5,10 @@ x-app-image: &app-image git.leonmorival.xyz/leonm/daily-meal-api:${IMAGE_TAG:-la
x-app-environment: &app-environment
APP_ENV: production
APP_DEBUG: "false"
APP_RUNTIME: "Laravel\\FrankenPHP\\Runtime"
SERVER_NAME: ":80"
OCTANE_SERVER: frankenphp
OCTANE_PORT: "80"
OCTANE_ADMIN_PORT: "2019"
OCTANE_MAX_REQUESTS: "500"
DB_CONNECTION: pgsql
DB_HOST: postgres
DB_PORT: "5432"
@@ -17,8 +19,8 @@ x-app-environment: &app-environment
MEILISEARCH_HOST: http://meilisearch:7700
x-app-volumes: &app-volumes
- storage-data:/var/www/html/storage/app
- storage-public-data:/var/www/html/storage/app/public
- storage-data:/app/storage/app
- storage-public-data:/app/storage/app/public
x-app-service: &app-service
image: *app-image
@@ -54,11 +56,17 @@ services:
horizon:
<<: *app-service
container_name: daily-meal-api-horizon
depends_on:
app:
condition: service_healthy
command: ["php", "artisan", "horizon"]
scheduler:
<<: *app-service
container_name: daily-meal-api-scheduler
depends_on:
app:
condition: service_healthy
command: ["php", "artisan", "schedule:work"]
postgres: