stmcdevops/rocky-httpd-yii2

By stmcdevops

Updated 7 months ago

This repo build on rockylinux 9.4 , apache 2.4.57 and php 8.3.9 for support yii2 php framework

Image
Operating Systems
Web Servers

13

rocky-httpd-yii2

This is the repository for the docker image stmcdevops/rocky-httpd-yii2 to use with the Yii2 framework. It is based on the official rockylinux9.3 image and update to rockylinux 9.4 contains additional Apache 2.4.57 with PHP-FPM and PHP 8.3.9 extensions required for Yii2.

Included packages

  • Apache 2.4.57
  • PHP 8.3.9
  • Git
  • Zip
  • Composer 2.7.7

Running Docker Container from command line

docker run \
      -it -d \
      -p 8899:80 \
      -v ./webapps:/webapps \
      --name webserver \
      stmcdevops/rocky-httpd-yii2:1.1

Running Docker Container from docker-compose.yml

services:
   webserver:
     image: stmcdevops/rocky-httpd-yii2:1.1
     container_name: webserver
     restart: always
     environment:
       - TZ=Asia/Bangkok
     volumes:
       - ./webapps:/webapps
     ports:
       - 8899:80


Running docker-compose.yml
docker compose up -d

Docker Pull Command

docker pull stmcdevops/rocky-httpd-yii2