- Initial release.
This commit is contained in:
commit
535dc239a7
4
.env
Normal file
4
.env
Normal file
@ -0,0 +1,4 @@
|
||||
IMG_ID="php-apache-mga9"
|
||||
IMG_NAME="Rx3 PHP Apache Mageia-9 Docker Image"
|
||||
IMG_VERSION="1.0.0"
|
||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*~
|
||||
*.old
|
25
Dockerfile
Normal file
25
Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
# Rx3 PHP Apache Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
FROM docker.xor.rx3:5000/rx3/base-mga9:1.2.0
|
||||
|
||||
ARG IMG_ID
|
||||
ARG IMG_NAME
|
||||
ARG IMG_VERSION
|
||||
ARG IMG_MAINTAINER
|
||||
|
||||
LABEL org.rx3.${IMG_ID}.name=${IMG_NAME}
|
||||
LABEL org.rx3.${IMG_ID}.version=${IMG_VERSION}
|
||||
LABEL org.rx3.${IMG_ID}.maintainer=${IMG_MAINTAINER}
|
||||
LABEL maintainer=${IMG_MAINTAINER}
|
||||
|
||||
|
||||
RUN urpmi --force apache apache-mod_php php-cli php-pgsql php-mysqli php-phpmailer \
|
||||
&& echo -e "RewriteEngine On\n<Directory /var/www/html>\n Options Includes Indexes FollowSymLinks\n AllowOverride All\n Require all granted\n</Directory>" >/etc/httpd/conf/conf.d/rx3.conf \
|
||||
&& echo -e "<?php\n phpinfo();\n phpinfo(INFO_MODULES);\n?>\n" >/var/www/html/info.php
|
||||
|
||||
VOLUME /var/www/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/httpd", "-DFOREGROUND"]
|
19
ReadMe.txt
Normal file
19
ReadMe.txt
Normal file
@ -0,0 +1,19 @@
|
||||
Welcome to php-apache-mga9 docker image!
|
||||
|
||||
|
||||
|
||||
This is project aims to build a PHP + Apache + Mageia 9 docker image used by others Rx3 packaging projects.
|
||||
|
||||
Features:
|
||||
- Curtently based on base-mga9:1.2.0 image,
|
||||
- PostgreSQL & MySQL ready,
|
||||
- PHPMailer installed.
|
||||
|
||||
|
||||
Enjoy it!
|
||||
|
||||
Your Rx3 Team.
|
||||
|
||||
--
|
||||
arnaud@rx3.net
|
||||
https://git.rx3.org/gitea/rx3/php-apache-mga9
|
7
ReleaseNotes.txt
Normal file
7
ReleaseNotes.txt
Normal file
@ -0,0 +1,7 @@
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
PHP-Apache-Mga9 V 1.0.0 - A. GIBERT - 2024/08/22
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Initial release,
|
||||
- Use based on base-mga9:1.2.0 image,
|
||||
- PostgreSQL & MySQL ready.
|
19
compose.yaml
Normal file
19
compose.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
# Rx3 PHP Apache Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
name: ${IMG_ID}
|
||||
services:
|
||||
webapp:
|
||||
container_name: ${IMG_ID}
|
||||
image: docker.xor.rx3:5000/rx3/${IMG_ID}:${IMG_VERSION}
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- IMG_ID=${IMG_ID}
|
||||
- IMG_NAME=${IMG_NAME}
|
||||
- IMG_VERSION=${IMG_VERSION}
|
||||
- IMG_MAINTAINER=${IMG_MAINTAINER}
|
||||
restart: unless-stopped
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- "127.0.0.1:8080:80"
|
Loading…
Reference in New Issue
Block a user