Skip to content

Instantly share code, notes, and snippets.

@satishgadhave
Created August 9, 2020 17:16
Show Gist options
  • Save satishgadhave/80d4a964c2aff10c743c1399fcc4e1f1 to your computer and use it in GitHub Desktop.
Save satishgadhave/80d4a964c2aff10c743c1399fcc4e1f1 to your computer and use it in GitHub Desktop.
Newrelic integration with dockerized PHP application
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