Sign inSign up

turtleislan/laravel

By turtleislan

•Updated over 7 years ago

laravel

Image
0

1.5K

turtleislan/laravel repository overview

⁠docker-compose.yml

version: '3'

services:    
  guestbook:  
    container_name: "guestbook"
    image: turtleislan/laravel          
    ports:
      - "8000:80"
   
    volumes:      
      - ".:/var/www/laravel"
      - "./apache_default.conf:/etc/apache2/sites-available/000-default.conf"     


⁠etc/apache2/sites-available/000-default.conf

<VirtualHost *:80>
        ......
        DocumentRoot /var/www/laravel/guestbook/public
        .......
</VirtualHost>

Alias "/storage" "/var/www/laravel/guestbook/storage/app/public"

<Directory "/var/www/laravel/guestbook/storage/app/public">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


create new laravel project docker exec guestbook_auth composer create-project --prefer-dist laravel/laravel guestbook

Tag summary

Content type

Image

Digest

Size

214.5 MB

Last updated

about 8 years ago

docker pull turtleislan/laravel