-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
36 lines (33 loc) · 1.6 KB
/
Copy pathdocker-compose.override.yml
File metadata and controls
36 lines (33 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# docker-compose.override.yml — Local dev overrides (debug ports, hot reload)
#
# New Relic (optional): set these in your shell before running docker compose up
# $env:NEW_RELIC_API_KEY = "NRAK-..."
# $env:NEW_RELIC_ACCOUNT_ID = "1234567"
# $env:NEW_RELIC_ENABLED = "true"
# Credentials are NOT committed — they are read from your host environment.
services:
api-read:
environment:
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
# Spring-native env var names — bypass YAML placeholder resolution at autoconfiguration phase
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ENABLED: ${NEW_RELIC_ENABLED:-false}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_API_KEY: ${NEW_RELIC_API_KEY:-}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ACCOUNT_ID: ${NEW_RELIC_ACCOUNT_ID:-}
ports:
- "5005:5005"
api-write:
environment:
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006"
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ENABLED: ${NEW_RELIC_ENABLED:-false}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_API_KEY: ${NEW_RELIC_API_KEY:-}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ACCOUNT_ID: ${NEW_RELIC_ACCOUNT_ID:-}
ports:
- "5006:5006"
api-rw:
environment:
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5007"
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ENABLED: ${NEW_RELIC_ENABLED:-false}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_API_KEY: ${NEW_RELIC_API_KEY:-}
MANAGEMENT_NEWRELIC_METRICS_EXPORT_ACCOUNT_ID: ${NEW_RELIC_ACCOUNT_ID:-}
ports:
- "5007:5007"