I am new to Docker. How can I connect the Microsoft SQL server driver. Here is my docker-compose.yml:
version: '3.3'
services:
web:
image: php:7.3-apache
container_name: php73
volumes:
- ./site1/site:/var/www/html/site
ports:
- 1111:80
Until now, Apache and PHP works great and I can test it through phpinfo()
I need to upload for testing a website in this container so I need to connect SQL Server driver with this container. How could I implement this? Is there any code to put in docker-compose.yml or should I build another container? And how could I connect the sql server driver with the php?
Note! I need only to connect the sqlsrv driver with the container