HUB
Sign inSign up
jlab-sail logo

jeffersonlab/jlab-sail

By jeffersonlab

•Updated over 2 years ago

Laravel Sail image customized for Jlab use

Image
0

960

jeffersonlab/jlab-sail repository overview

⁠Laravel Sail image customized for Jlab use

⁠Information

Uses the docker files from Laravel sail⁠ to build Laravel and PHP development environment useful at JLab by

  • Adding oracle database client libraries
  • Installing certificates necessitated by jlab MITM traffic scanning

⁠Running

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.

⁠Example docker-compose.yml

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'

Tag summary

Content type

Image

Digest

sha256:1476dbdbe…

Size

571.2 MB

Last updated

over 2 years ago

docker pull jeffersonlab/jlab-sail:8.1.0