-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more parameterization in docker-compose
- Loading branch information
1 parent
01f397e
commit 7e079fd
Showing
1 changed file
with
3 additions
and
35 deletions.
There are no files selected for viewing
38 changes: 3 additions & 35 deletions
38
tests/Agent/IntegrationTests/ContainerApplications/docker-compose.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,18 @@ | ||
version: "3" | ||
|
||
services: | ||
smoketestapp-debian: | ||
smoketestapp: | ||
build: | ||
context: . | ||
dockerfile: SmokeTestApp/Dockerfile | ||
args: | ||
DISTRO_TAG: 7.0-bullseye-slim-amd64 | ||
DISTRO_TAG: ${DISTRO_TAG} | ||
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY} | ||
NEW_RELIC_APP_NAME: ${NEW_RELIC_APP_NAME} | ||
NEW_RELIC_HOST: ${NEW_RELIC_HOST} | ||
|
||
ports: | ||
- "8001:80" | ||
- "${PORT}:80" | ||
volumes: | ||
- ${AGENT_PATH}:/usr/local/newrelic-dotnet-agent # AGENT_PATH from .env, points to newrelichome_linux_x64 | ||
- ${LOG_PATH}:/app/logs # LOG_PATH from .env, should be a folder unique to this run of the smoketest app | ||
|
||
smoketestapp-alpine: | ||
build: | ||
context: . | ||
dockerfile: SmokeTestApp/Dockerfile | ||
args: | ||
DISTRO_TAG: 7.0-alpine-amd64 | ||
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY} | ||
NEW_RELIC_APP_NAME: ${NEW_RELIC_APP_NAME} | ||
NEW_RELIC_HOST: ${NEW_RELIC_HOST} | ||
ports: | ||
- "8002:80" | ||
volumes: | ||
- ${AGENT_PATH}:/usr/local/newrelic-dotnet-agent # AGENT_PATH from .env, points to newrelichome_linux_x64 | ||
- ${LOG_PATH}:/app/logs # LOG_PATH from .env, should be a folder unique to this run of the smoketest app | ||
|
||
smoketestapp-ubuntu: | ||
build: | ||
context: . | ||
dockerfile: SmokeTestApp/Dockerfile | ||
args: | ||
DISTRO_TAG: 7.0-jammy-amd64 | ||
NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY} | ||
NEW_RELIC_APP_NAME: ${NEW_RELIC_APP_NAME} | ||
NEW_RELIC_HOST: ${NEW_RELIC_HOST} | ||
ports: | ||
- "8003:80" | ||
volumes: | ||
- ${AGENT_PATH}:/usr/local/newrelic-dotnet-agent # AGENT_PATH from .env, points to newrelichome_linux_x64 | ||
- ${LOG_PATH}:/app/logs # LOG_PATH from .env, should be a folder unique to this run of the smoketest app | ||
|
||
|