-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
28 lines (26 loc) · 894 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
28 lines (26 loc) · 894 Bytes
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
services:
control-panel:
build:
context: ./apps/control-panel
dockerfile: Dockerfile
target: dev
volumes:
- ./apps/control-panel/src:/app/src
- ./apps/control-panel/public:/app/public
environment:
- NEXT_PUBLIC_API_URL=http://localhost:${LAB_API_PORT:-3001}
- NEXT_PUBLIC_WS_URL=ws://localhost:${LAB_API_PORT:-3001}/ws
- WATCHPACK_POLLING=true
command: ["npm", "run", "dev"]
lab-api:
environment:
- SPRING_PROFILES_ACTIVE=dev
- JAVA_TOOL_OPTIONS=-javaagent:/app/opentelemetry-javaagent.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
- OTEL_RESOURCE_ATTRIBUTES=service.name=lab-api
ports:
- "${LAB_API_PORT:-3001}:3001"
- "5005:5005"
monolith:
environment:
- SPRING_PROFILES_ACTIVE=dev