Laravel Sail image customized for Jlab use
960
Uses the docker files from Laravel sail to build Laravel and PHP development environment useful at JLab by
Upon first usage, the container may give warnings if not mounting an existing laravel application directory containing the artisan command. This can be remedied by installing laravel using the following steps.
# Use docker ps to get container-name
docker exec -it ${container-name} /bin/bash
# Then in the container...
composer create-project laravel/laravel="^10.0" temp
mv temp/*.* .
rmdir temp
And then restarting the container.
For full usage documentation, see the Laravel Sail documentation
services:
laravel.test:
image: 'jeffersonlab/jlab-sail:8.1.0'
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}'
volumes:
- '.:/var/www/html'
Content type
Image
Digest
sha256:1476dbdbe…
Size
571.2 MB
Last updated
over 2 years ago
docker pull jeffersonlab/jlab-sail:8.1.0