diff --git a/php/Dockerfile b/php/Dockerfile index b5dc771..2011c39 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -2,6 +2,10 @@ FROM php:8.1.22-apache COPY 000-default.conf /etc/apache2/sites-enabled/ -RUN apt-get update && apt-get install -y libpq-dev git && docker-php-ext-install pdo pdo_pgsql +RUN apt-get update && apt-get install -y libpq-dev git && docker-php-ext-install pdo pdo_pgsql + +RUN pecl install xdebug && docker-php-ext-enable xdebug + +COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \ No newline at end of file diff --git a/php/xdebug.ini b/php/xdebug.ini new file mode 100644 index 0000000..249c9a8 --- /dev/null +++ b/php/xdebug.ini @@ -0,0 +1,8 @@ +[xdebug] +xdebug.mode=develop,debug +#xdebug.client_host=127.0.0.1 +xdebug.client_host=1 +#xdebug.client_port=9003 +xdebug.start_with_request=trigger +xdebug.idekey = VSCode +#xdebug.discover_client_host=false \ No newline at end of file diff --git a/postgres/data/global/pg_control b/postgres/data/global/pg_control index c4abb08..807acd4 100644 Binary files a/postgres/data/global/pg_control and b/postgres/data/global/pg_control differ diff --git a/postgres/data/pg_wal/000000010000000000000001 b/postgres/data/pg_wal/000000010000000000000001 index 7fcfd37..a91332e 100644 Binary files a/postgres/data/pg_wal/000000010000000000000001 and b/postgres/data/pg_wal/000000010000000000000001 differ diff --git a/postgres/data/postmaster.pid b/postgres/data/postmaster.pid index 27cb006..07857c8 100644 --- a/postgres/data/postmaster.pid +++ b/postgres/data/postmaster.pid @@ -1,6 +1,6 @@ 1 /var/lib/postgresql/data -1691675843 +1692023204 5432 /var/run/postgresql *