composer create-project offmania9/boostack
Import as vendor: composer require offmania9/boostack
Virtual host configuration:
<Directory /var/www/html> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
Before launching Boostack installation via Docker, make sure you have set the variables found in the .env file at the project root
DB_HOST=db DB_PORT=3306 DB_DATABASE=boostack_db DB_PASSWORD_ROOT=ROOT DB_USERNAME=boostack_usr DB_PASSWORD=boostack_pwd
Ok, now you're ready to run the "docker compose" command at the project root.
docker-compose up -d --build
In the Docker compose file, you need to comment out the user parameter for php-apache based on the operating system: 502:20 for macOS and 1000:1000 for Unix. Leave both lines commented out (disabled) in case of Windows operating systems.
php-apache: # user: "502:20" #-> MacOS # user: "1000:1000" #-> Unix
Jump to First Configuration →