Skip to content

pythas/laravel-next-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Laravel + Next.js template

Dockerized Laravel with Octane and Swoole PHP Server, MySQL & Next.js template. Uses a makefile for some better DX. Only requires docker to be installed on the host.

Setup backend

Initalize .env configuration:

cd backend
make init

Update backend/.env and backend/.docker/.env with your configuration.

Build containers and install Laravel and Octane:

make install

Start the containers:

make docker-up

Rebuild the containers:

make docker-build

Setup frontend

Initalize .env configuration:

cd frontend
make init

Update frontend/.env and frontend/.docker/.env with your configuration.

Build containers and install Next.js:

make install

Start the containers:

make docker-up

Rebuild the containers:

make docker-build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published