Skip to content
Snippets Groups Projects
Commit 565f79cd authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docker to php8.3

parent b7b8426f
No related branches found
No related tags found
1 merge request!62V2.0
# #
# GENERATED BY init.sh - template: ./templates/web-server-Dockerfile - 42dce773c83597a7d05af398bdd66d15 # GENERATED BY init.sh - template: ./templates/web-server-Dockerfile - 42dce773c83597a7d05af398bdd66d15
# #
FROM php:8.2-apache FROM php:8.3-apache
# install packages # install packages
RUN apt-get update && apt-get install -y git unzip zip rsync RUN apt-get update && apt-get install -y git unzip zip rsync
...@@ -11,4 +11,4 @@ RUN a2enmod rewrite ...@@ -11,4 +11,4 @@ RUN a2enmod rewrite
# install php packages # install php packages
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions curl mbstring ldap intl xml sockets RUN install-php-extensions curl mbstring ldap intl xml
...@@ -22,7 +22,7 @@ services: ...@@ -22,7 +22,7 @@ services:
dockerfile: ./containers/web-server/Dockerfile dockerfile: ./containers/web-server/Dockerfile
# keep "FROM" in docker file ... then image is not needed here # keep "FROM" in docker file ... then image is not needed here
# image: "php:8.2-apache" # image: "php:8.3-apache"
container_name: 'imlcinode-server' container_name: 'imlcinode-server'
ports: ports:
......
...@@ -25,10 +25,10 @@ APP_APT_PACKAGES="git unzip zip rsync" ...@@ -25,10 +25,10 @@ APP_APT_PACKAGES="git unzip zip rsync"
APP_APACHE_MODULES="rewrite" APP_APACHE_MODULES="rewrite"
# APP_APACHE_MODULES="" # APP_APACHE_MODULES=""
APP_PHP_VERSION=8.2 APP_PHP_VERSION=8.3
# sqlite3 is active already # sqlite3 is active already
# sockets is for appmonitor tcp check only # sockets is for appmonitor tcp check only
APP_PHP_MODULES="curl mbstring ldap intl xml sockets" APP_PHP_MODULES="curl mbstring ldap intl xml"
# ONSTARTUP="docker exec -it appmonitor-server nohup /usr/local/bin/php /var/www/appmonitor/public_html/server/service.php > /tmp/appmonitor-service.log &" # ONSTARTUP="docker exec -it appmonitor-server nohup /usr/local/bin/php /var/www/appmonitor/public_html/server/service.php > /tmp/appmonitor-service.log &"
# APP_ONSTARTUP="php ${WEBROOT}/server/service.php" # APP_ONSTARTUP="php ${WEBROOT}/server/service.php"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment