# The portal repository's own file. # # Applied with `--scope application --application-key portal`. The queue worker and the release # task state their own environment: the web process's bindings are never inherited. version: "1.18" applications: portal: runtime: laravel runtimeVersion: "8.5" source: root: . build: install: [composer, install, --no-dev, --no-interaction, --no-progress, --prefer-dist, --no-scripts] run: command: [hosting-laravel-web] port: 8080 healthPath: /up env: APP_ENV: production APP_DEBUG: "false" APP_KEY: {secret: app_key} DB_CONNECTION: pgsql DB_URL: {database: portal, field: url} CACHE_STORE: file SESSION_DRIVER: file QUEUE_CONNECTION: database workers: queue: command: [php, artisan, queue:work, database, --sleep=1, --tries=1, --timeout=60] env: APP_KEY: {secret: app_key} DB_CONNECTION: pgsql DB_URL: {database: portal, field: url} CACHE_STORE: file SESSION_DRIVER: file QUEUE_CONNECTION: database release: command: [php, artisan, migrate, --force] timeoutSeconds: 300 env: APP_KEY: {secret: app_key} DB_CONNECTION: pgsql DB_URL: {database: portal, field: url} CACHE_STORE: file SESSION_DRIVER: file QUEUE_CONNECTION: database