docker run --rm -it wenance/solr-nr:latest ash
Step into a the path where app.jar is and execute this:
docker run --rm -d -v $PWD:/app -w /app -e NEW_RELIC_LICESE_KEY="yourlicensekey" -e NEW_RELIC_APP_NAME=yourAppName wenance/solr-nr:latest
Using this image as base and don't forget to define license_key and app_name env variables.
FROM wenance/solr-nr:solr7.3.1-nr4.2.0-alpine-v1.0
WORKDIR /app
ADD app.jar app.jar
ENV NEW_RELIC_LICENSE_KEY yourkey
ENV NEW_RELIC_APP_NAME myCustomApplication
Content type
Image
Digest
Size
229.6 MB
Last updated
about 6 years ago
docker pull wenance/solr-nr