Sign inSign up

justjeffey/laravel

By justjeffey

•Updated almost 5 years ago

Image
0

209

justjeffey/laravel repository overview

⁠Laravel Environment

Quickly stand up a dev laravel environment using apache with functioning queues and schdules.

Use the environment var DEV to stop some prod caching and optimization.

Mount empty dir to /var/www/html to have new laravel project setup

⁠Tags

VersionTags
Laravel v8.6.2:latest :8.6.2 8.6 6

⁠Environment Variables

EnvDescription
DEVStops some caching and optimization, can be any value
PUIDSets UID for www-data to allow editing data
PGIDSets GID for www-data to allow editing data

⁠Setup

version: '3'

services:
  mariadb:
    image: bitnami/mariadb:10.2-debian-10
    environment:
      - ALLOW_EMPTY_PASSWORD=yes
      - MARIADB_USER=user
      - MARIADB_DATABASE=db
      - MARIADB_PASSWORD=password

  laravel:
    tty: true
    image: justjeffey/laravel
    environment:
      - DEV=true
      - DB_HOST=mariadb
      - DB_DATABASE=db
      - DB_USERNAME=user
      - DB_PASSWORD=password
      - PUID=1000
      - PGID=1000
    depends_on:
      - mariadb
    ports:
      - 80:80
    volumes:
      - laravel:/var/www/html

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

190.6 MB

Last updated

almost 5 years ago

docker pull justjeffey/laravel