Skip to content

Commit c4fd1e1

Browse files
committed
php-fpm_exporter
update - set user
1 parent 25f9542 commit c4fd1e1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

php-fpm-exporter.scratch.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ COPY --from=builder /go/bin/php-fpm_exporter /usr/local/bin/
4949
# PHP_FPM_FIX_PROCESS_COUNT="false"
5050

5151
EXPOSE 9253
52+
53+
# user: nobody
54+
USER 65534
55+
5256
ENTRYPOINT [ "php-fpm_exporter", "server" ]
5357
#CMD [ "--log.level=info", "--phpfpm.scrape-uri=tcp://127.0.0.1:9000/status", "--web.listen-address=:9253", "--web.telemetry-path=/metrics", "--phpfpm.fix-process-count=false" ]

0 commit comments

Comments
 (0)