Enable PHP profiling for ratings service (#43)
This commit is contained in:
2
.env
2
.env
@@ -1,3 +1,3 @@
|
|||||||
# environment file for docker-compose
|
# environment file for docker-compose
|
||||||
REPO=robotshop
|
REPO=robotshop
|
||||||
TAG=0.5.1
|
TAG=0.5.2
|
||||||
|
@@ -8,10 +8,13 @@ RUN composer install
|
|||||||
#
|
#
|
||||||
# Build the app
|
# Build the app
|
||||||
#
|
#
|
||||||
FROM php:7.3-apache
|
FROM php:7.4-apache
|
||||||
|
|
||||||
RUN docker-php-ext-install pdo_mysql
|
RUN docker-php-ext-install pdo_mysql
|
||||||
|
|
||||||
|
# Enable AutoProfile for PHP which is currently opt-in beta
|
||||||
|
RUN echo "instana.enable_auto_profile=1" > "/usr/local/etc/php/conf.d/zzz-instana-extras.ini"
|
||||||
|
|
||||||
# relax permissions on status
|
# relax permissions on status
|
||||||
COPY status.conf /etc/apache2/mods-available/status.conf
|
COPY status.conf /etc/apache2/mods-available/status.conf
|
||||||
# Enable Apache mod_rewrite and status
|
# Enable Apache mod_rewrite and status
|
||||||
|
Reference in New Issue
Block a user