maqden/sail-schedule-queue

There is no license information available for the latest version (1.0.0) of this package.

Sail configuration to run Schedule commands and queues on Laravel Sail

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Dockerfile

1.0.0 2023-12-04 22:54 UTC

This package is auto-updated.

Last update: 2024-09-28 14:19:27 UTC


README

This package was created for a personal usage, if you want to use it, feel free.

How to use it:

First:

composer require maqden/sail-schedule-queue --dev

in your docker-compose.yml file, change the context value from context: ./vendor/laravel/sail/runtimes/8.3 to context: ./vendor/maqden/sail-schedule-queue/runtimes/8.3 or your PHP version

This context files it's the same of laravel/sail package, just the supervisord.conf it's different.

    laravel.test:
        build:
            context: ./vendor/maqden/sail-schedule-queue/runtimes/8.3
            dockerfile: Dockerfile
            args:
                WWWGROUP: '${WWWGROUP}'
        image: sail-8.3/app
        extra_hosts:
            - 'host.docker.internal:host-gateway'
        ports:
            - '${APP_PORT:-80}:80'
            - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
        environment:
            WWWUSER: '${WWWUSER}'
            LARAVEL_SAIL: 1
            XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
            XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
            IGNITION_LOCAL_SITES_PATH: '${PWD}'
        volumes:
            - '.:/var/www/html'
        networks:
            - sail
        depends_on:
            - mysql
            - redis
            - meilisearch
            - mailpit
            - selenium