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

update docker dev env

parent 14eebd6b
No related branches found
No related tags found
1 merge request!3Update appmonitor
# ====================================================================== # ======================================================================
# #
# GENERATED BY init.sh - template: ./templates/dot_env - e2cde05722688ff85d3a93e9cd55787e # GENERATED BY init.sh - template: templates/dot_env - e2cde05722688ff85d3a93e9cd55787e
# values to be used in docker-composer.yml # values to be used in docker-composer.yml
# #
# ====================================================================== # ======================================================================
......
# #
# 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.4-apache
# install packages # install packages
RUN apt-get update && apt-get install -y git unzip zip libapache2-mod-xsendfile RUN apt-get update && apt-get install -y git unzip zip libapache2-mod-xsendfile
# enable apache modules # enable apache modules
RUN a2enmod xsendfile RUN a2enmod rewrite xsendfile
# 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/
......
# #
# GENERATED BY init.sh - template: ./templates/vhost_app.conf - 4dfd63417ad808a5ed00ffaf117464a8 # GENERATED BY init.sh - template: templates/vhost_app.conf - 4dfd63417ad808a5ed00ffaf117464a8
# #
<VirtualHost *:80> <VirtualHost *:80>
DocumentRoot /var/www/ci-pkg/public_html DocumentRoot /var/www/ci-pkg/public_html
......
; ;
; GENERATED BY init.sh - template: ./templates/extra-php-config.ini - 9dce36d285d5b21d70e015c074c196c2 ; GENERATED BY init.sh - template: templates/extra-php-config.ini - 9dce36d285d5b21d70e015c074c196c2
; ;
[PHP] [PHP]
......
# #
# GENERATED BY init.sh - template: ./templates/docker-compose.yml - fc2f1d55926abdb9c54f65afd0571d7b # GENERATED BY init.sh - template: templates/docker-compose.yml - fc2f1d55926abdb9c54f65afd0571d7b
# #
# ====================================================================== # ======================================================================
# #
...@@ -19,7 +19,7 @@ services: ...@@ -19,7 +19,7 @@ services:
build: build:
context: . context: .
dockerfile: ./containers/web-server/Dockerfile dockerfile: ./containers/web-server/Dockerfile
image: "php:8.2-apache" image: "php:8.4-apache"
container_name: 'ci-pkg-server' container_name: 'ci-pkg-server'
ports: ports:
- '${APP_PORT}:80' - '${APP_PORT}:80'
......
This diff is collapsed.
...@@ -15,9 +15,9 @@ APP_PORT=8001 ...@@ -15,9 +15,9 @@ APP_PORT=8001
APP_APT_PACKAGES="git unzip zip libapache2-mod-xsendfile" APP_APT_PACKAGES="git unzip zip libapache2-mod-xsendfile"
#APP_APACHE_MODULES="rewrite" #APP_APACHE_MODULES="rewrite"
APP_APACHE_MODULES="xsendfile" APP_APACHE_MODULES="rewrite xsendfile"
APP_PHP_VERSION=8.2 APP_PHP_VERSION=8.4
# APP_PHP_MODULES="curl pdo_mysql mbstring xml zip xdebug" # APP_PHP_MODULES="curl pdo_mysql mbstring xml zip xdebug"
APP_PHP_MODULES="" APP_PHP_MODULES=""
...@@ -60,9 +60,8 @@ DOCKER_USER_UID=33 ...@@ -60,9 +60,8 @@ DOCKER_USER_UID=33
# document root inside web-server container # document root inside web-server container
WEBROOT=/var/www/${APP_NAME}/public_html WEBROOT=/var/www/${APP_NAME}/public_html
WEBURL="/"
CUTTER_NO_DATABASE="CUT-HERE-FOR-NO-DATABASE" CUTTER_NO_DATABASE="CUT-HERE-FOR-NO-DATABASE"
frontendurl=http://localhost:${APP_PORT}/
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment