Skip to content

Commit 2b94773

Browse files
committed
add datadog env vars
1 parent ba5b4ea commit 2b94773

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docker/icrp.dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ RUN sed -i 's/User apache/User icrp/g' /etc/httpd/conf/httpd.conf
7171

7272
RUN sed -i 's/Group apache/Group icrp/g' /etc/httpd/conf/httpd.conf
7373

74-
RUN sed -i 's/apache/icrp/g' /etc/php-fpm.d/www.conf
74+
RUN sed -i 's/apache/icrp/g' /etc/php-fpm.d/www.conf \
75+
&& echo "env[DD_SERVICE]=\$DD_SERVICE" >> /etc/php-fpm.d/www.conf \
76+
&& echo "env[DD_ENV]=\$DD_ENV" >> /etc/php-fpm.d/www.conf \
77+
&& echo "env[DD_VERSION]=\$DD_VERSION" >> /etc/php-fpm.d/www.conf
7578

7679
RUN mkdir -p \
7780
/run/httpd \

0 commit comments

Comments
 (0)