Laravel Docker image

Docker image for Laravel Applications, utilising docker-compose.

docker
docker-compose
laravel
laravel-docker

Published 4 years ago

This is my docker image for Laravel Applications, utilising docker-compose.

Getting started

  • Clone the GitHub repo
  • In the top level and in src rename .env.example to .env and configure your credentials.
  • Note: .env.example is included in two places, one for docker-compose to read and the other for Laravel to read.
  • Clone the latest Laravel into your src folder
  • Make sure DB_CONNECTION=mysql equals your service name for mysql.
  • To run commands, use docker-compose exec, or enter the docker container: docker-compose exec app php artisan config:clear

Development

Run the following in a terminal:

docker-compose -f docker-compose-dev.yml build app docker-compose -f docker-compose-dev.yml up -d docker-compose -f docker-compose-dev.yml exec app ./install.sh

Production

Run the following in a terminal:

docker-compose build app docker-compose up -d docker-compose exec app ./install.sh

Let's chat about your next project

Whether you need a single contractor or a full team, I collaborate with a trusted network of designers and developers. Having worked on large-scale projects, I'm equally committed to supporting businesses of all sizes, locally in Surrey, London, and internationally.

See also...

CnCNet - Website & App Development

Comprehensive design and development of responsive web and desktop apps for CnCNet, enhancing user experience and accessibility.

AR Configurator for E-Bikes

Bespoke augmented reality web configurator for E-Bikes, offering full customization options, including color choices and feature configurations.

Stock Investment App

Real-time stock investment app for web and mobile, built with TypeScript, React, and WebSockets, delivering fast, responsive, and data-driven experiences.

KickTown Football - Website

Custom-built website and API's for KickTown Football, integrating a merchandise store, booking system, and seamless user experience.

Tempest Rising - Official Website

Website development for Slipgate Ironworks' Tempest Rising, crafted to deliver a sleek, immersive experience for fans and players.

Cosmetic Visualiser - Web App

React and TypeScript-powered web app for visualizing facial cosmetic treatments, offering a cutting-edge, interactive user experience.

C&C Community Website

Command & Conquer Community platform with improved SEO, a sleek interface, and content integrations like Twitch and Steam, creating a hub for fans and creators.

React Native Health App

Custom Android and iOS health app developed with React Native and TypeScript, tailored for a health-tech startup, ensuring cross-platform compatibility.

Oriental Garden Restaurant - Website Redesign

Website redesign featuring an online ordering system that boosts sales and enhances customer engagement with a modern, intuitive interface.