Quick start create package laravel
# Clone git repository
$ git clone https://github.com/darkjinnee/larapack-9x.git
# Go project directory
$ cd ./larapack-9x
# Copy environment variables
$ cp .env.example .env
# Build images and run containers
$ docker-compose up --build -d
...
127.0.0.1 larapack-9x.loc www.larapack-9x.loc
# Commands: start, restart, stop
$ docker-compose <command>
# Enter container shell
$ docker-compose exec <service> bash
# Show logs containers
$ docker-compose logs -f
# Stop and remove containers, networks, images, and volumes
$ docker-compose down --rmi=all
# Enter container shell
$ docker-compose exec php bash
# Migrate and seeding
$ php artisan migrate --seed
$ su dev
To create packages see the documentation for laravel-packager
To activate Xdebug edit file docker/services/php/conf.d/xdebug.ini, remote host must be your local IP address
Multiple domains with nginx-proxy