You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 6, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,10 @@ This demo can be run in a few different ways:
81
81
### Instructions for Docker (should work on Linux or Windows)
82
82
83
83
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`
87
88
5. You can exercise the app by going to `https:/localhost:<PORT_YOU_WANT>` and browsing around the UI.
0 commit comments