Enable PHP profiling for ratings service (#43)

This commit is contained in:
Cedric Ziel
2020-10-05 15:39:27 +02:00
committed by GitHub
parent 3d9ce2607b
commit f0619949bc
2 changed files with 5 additions and 2 deletions

2
.env
View File

@@ -1,3 +1,3 @@
# environment file for docker-compose
REPO=robotshop
TAG=0.5.1
TAG=0.5.2

View File

@@ -8,10 +8,13 @@ RUN composer install
#
# Build the app
#
FROM php:7.3-apache
FROM php:7.4-apache
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
COPY status.conf /etc/apache2/mods-available/status.conf
# Enable Apache mod_rewrite and status