Skip to content

Latest commit

 

History

History
116 lines (96 loc) · 4.37 KB

README.md

File metadata and controls

116 lines (96 loc) · 4.37 KB

Yii2-mssql

Description

This image is hosted on DockerHub. It contains a Yii2 Framework environment with Microsoft's SQL drivers along with an Apache server.

BASE IMAGE: yiisoftware/yii2-php:7.3-apache
LATEST VERSION: 2.0.0

To Use

Pull image from Docker Hub
docker pull tamuarchi/yii2-mssql

Alternatively, use image in a docker-compose file.
FROM tamuarchi/yii2-mssql:latest

Building

Clone the repo
git clone git@github.com:architexas/yii2-mssql.git

Build the image
docker build .

Versions

Tag Description
Latest Tag 2.0.0
2.0.0 Upgraded PHP, Debian, XDebug, Apache, MSSQL drivers and other dependencies
1.1.2 Removed idekey configuration to allow all IDEs to connect.
1.1.1 Changed XDebug port to 9000 and added a few more configurations.
1.1.0 Added Xdebug, more default settings, and more documentation
1.0.1 Added documentation on the image's structure
1.0.0 First image: PHP with MSSQL drivers and some additional tools

Included

Tools Installed

  1. apt-transport-https
  2. gettext
  3. git
  4. tree
  5. unzip
  6. vim
  7. wget
  8. Xdebug 2.9.2

    NOTE: Xdebug has been enabled by default and configured to call ip host.docker.internal on 9005 port in order to avoid conflicts with other applications and to bypass a network limitation on Mac OS.

Structure

A quick way to see the application structure is to run tree -L 3 --filelimit 20 in the root directory.

./
|-- app
| `-- APPLICATION CAN GO HERE (Recommended for Basic Template Applications)
|-- bin
|-- boot
|-- dev
|-- etc
|-- home
|-- lib
|-- lib64
|-- media
|-- mnt
|-- opt
| |-- microsoft
| `-- mssql-tools
|-- proc
|-- root
|-- run
| |-- apache2
| `-- lock
|-- sbin
|-- srv
|-- sys
|-- tmp
| `-- pear
|-- usr
    |-- local
        |-- etc
            |-- php.ini (PHP Settings)
            |-- conf.d
                |-- xdebug.ini (Xdebug Settings)
                |-- base.ini (PHP Settings)
`-- var
    |-- backups
    |-- cache
    |-- lib
    |-- local
    |-- lock
    |-- log
    |-- mail
    |-- opt
    |-- run
    |-- spool
    |-- tmp
    `-- www
         `-- APPLICATION CAN GO HERE (Recommended for Advance Template Applications)

Collaborators

Jose Manriquez (@josejlm2)
Cory Thompson (@cthompson527)
Raul Jimenez (@rjimenezhsc)