feat : ajout de l'auth et du guichet pour la récupération d'info bovin
This commit is contained in:
4
docker/.env.docker
Normal file
4
docker/.env.docker
Normal file
@@ -0,0 +1,4 @@
|
||||
DOCKER_APP_NAME=ednotif-bundle
|
||||
DOCKER_PHP_VERSION=8.4.6
|
||||
APP_USER=www-data
|
||||
XDEBUG_CLIENT_HOST=host.docker.internal
|
||||
25
docker/php/Dockerfile
Normal file
25
docker/php/Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
ARG DOCKER_PHP_VERSION
|
||||
|
||||
FROM php:${DOCKER_PHP_VERSION}-fpm-bullseye
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
unzip \
|
||||
libzip-dev \
|
||||
libxml2-dev \
|
||||
&& pecl install xdebug \
|
||||
&& docker-php-ext-enable xdebug \
|
||||
&& docker-php-ext-install zip \
|
||||
&& docker-php-ext-install soap \
|
||||
&& docker-php-ext-install dom
|
||||
|
||||
# Install Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# install Symfony Flex in the CI environment
|
||||
RUN composer global config --no-plugins allow-plugins.symfony/flex true
|
||||
RUN composer global require --no-progress --no-scripts --no-plugins symfony/flex
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
7
docker/php/config/docker-php-ext-xdebug.ini
Normal file
7
docker/php/config/docker-php-ext-xdebug.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20240924/xdebug.so
|
||||
xdebug.mode=debug
|
||||
xdebug.idekey=PHPSTORM
|
||||
xdebug.start_with_request=yes
|
||||
xdebug.client_port=9003
|
||||
xdebug.log_level = 0
|
||||
xdebug.client_host=host.docker.internal
|
||||
Reference in New Issue
Block a user