Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 8df06be

Browse files
committed
Working docker with agent
1 parent fbc9411 commit 8df06be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

AspNetCoreMvc/newrelic/placeholder.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ This demo can be run in a few different ways:
8181
### Instructions for Docker (should work on Linux or Windows)
8282

8383
1. Clone this repository
84-
2. Place an extracted copy of the Agent's files in the `newrelic` directory.
85-
3. From `AspNetCoreMvc` directory the Run `docker build -t clm-aspnetcoremvc:latest .\`
86-
4. After the build run `docker run -d --env NEW_RELIC_LICENSE_KEY=<YOUR_LICENSE_KEY> --env NEW_RELIC_APP_NAME=<YOUR_APP_NAME> -p <PORT_YOU_WANT>:80 clm-aspnetcoremvc:latest`
84+
2. Place an extracted copy of the `.NET Core Linux version` of Agent's files in the `newrelic` directory.
85+
3. From `CodeLevelMetricsDemo` directory the Run `docker build -f AspNetCoreMvc\Dockerfile -t clm-aspnetcoremvc:latest .\`
86+
4a. If running in PROD: After the build run `docker run -d --env NEW_RELIC_LICENSE_KEY=<YOUR_LICENSE_KEY> --env NEW_RELIC_APP_NAME=<YOUR_APP_NAME> -p <PORT_YOU_WANT>:80 clm-aspnetcoremvc:latest`
87+
4b. If running in STAGING: After the build run `docker run -d --env NEW_RELIC_LICENSE_KEY=<YOUR_LICENSE_KEY> --env NEW_RELIC_APP_NAME=<YOUR_APP_NAME> --env NEW_RELIC_HOST=staging-collector.newrelic.com -p <PORT_YOU_WANT>:80 clm-aspnetcoremvc:latest`
8788
5. You can exercise the app by going to `https:/localhost:<PORT_YOU_WANT>` and browsing around the UI.
8889

8990
### Instructions for Visual Studio (Windows)

0 commit comments

Comments
 (0)