Public | Automated Build

Last pushed: a year ago
Short Description
PHP7 with Laravel requirements built off of my Ubuntu base image
Full Description

Laravel / Apache Ubuntu

Based off of my Ubuntu Image. View the Ubuntu README

Included Utilities

  • apache2
  • php
  • libapache2-mod-php
  • php-mcrypt
  • php-mysql
  • php-mbstring
  • php-xml
  • zip
  • unzip
  • composer

Laravel

This image is based on hosting multiple Laravel Applications using vhost files.

Building / Use

MySQL

  • Create MySQL Image
    • docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD={MYSQL_PASSWORD} -v {MYSQL Data Folder}:/var/lib/mysql -d mysql
  • Setup Database
    • docker exec -it some-mysql bash, then make up database with the mysql command
    • MySQL Docs

Apcahe Image

  • Create Laravel Apache Image
    • docker run -it --restart=always --name=game_server -v {Project Parent Folder}:/var/www/sites -v {Log Folder}:/var/log/apache2 -v {VHOST Folder}:/etc/apache2/sites-enabled --link mysql:mysql -p 80:80 nfeld9807/laravel
Docker Pull Command
Owner
nfeld9807
Source Repository

Comments (0)