/docker-ubuntu20.4-apache-php8.2-mysql-sqlsrv-mac

Docker ubuntu20.4 apache php8.1 MySQ SQL Server (Mssql) on Mac

Primary LanguagePHP

Docker to PHP 8.1, Apache and PHP sqlsrv driver. (Ubuntu 20.04 LTS)

This is a initial schema for Docker with Ubuntu 20.04 LTS based (AMD64).

Softwares Installed:

  • PHP 8.1
  • Apache 2.4
  • msodbcsql17 and mssql-tools
  • sqlsrv and pdo_sqlsrv PHP driver
  • mysql PHP driver

Environment variables

To run this project, you will need to add the following environment variables to your .env

MYSQL_ROOT_PASSWORD

Install

  docker-compose build
  docker-compose up -d
  docker-compose up --build -d
  docker exec -t container-name bash -c "composer update"
  docker exec -t container-name bash -c "php artisan key:generate"

Etiquetas

MIT License GPLv3 License AGPL License