Created
August 9, 2020 17:16
-
-
Save satishgadhave/80d4a964c2aff10c743c1399fcc4e1f1 to your computer and use it in GitHub Desktop.
Newrelic integration with dockerized PHP application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
php: | |
build: | |
context: . | |
args: | |
- NEW_RELIC_AGENT_VERSION: "9.12.0.268" | |
- NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY} | |
- NEW_RELIC_APPNAME: "My application - Production" | |
- NEW_RELIC_DAEMON_ADDRESS: "newrelic-apm-daemon:31339" | |
restart: always | |
depends_on: | |
- newrelic-apm-daemon | |
newrelic-apm-daemon: | |
image: newrelic/php-daemon:9.12.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment