- PHP Version 8.1.0
- NGINX Version 1.21.4
- MSSQL Version 2019
Installation for PHP - NGINX - MSSQL Stack for Cabal Website & Database using Docker.
DOCKER MUST BE INSTALLED
- Clone the repository:
- CD to the Repository folder name.
- Copy .env.example to .env and configurate .env & change database with a strong password.
- cp .env.example .env
- nano .env
- Compose Containers and restore Cabal Databases Automatically.
- docker-compose up -d
- docker-compose exec sqlserver sh restoredb.sh
Your files are mounted in WWW folder so have fun.
-->> ./www/:/var/www/html
Test if no Errors after build. http://localhost:8080