Skip to content

Commit

Permalink
Enable PHP profiling for ratings service (instana#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel authored Oct 5, 2020
1 parent 3d9ce26 commit f061994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# environment file for docker-compose
REPO=robotshop
TAG=0.5.1
TAG=0.5.2
5 changes: 4 additions & 1 deletion ratings/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f061994

Please sign in to comment.