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.
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
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