Draft: big refactor
This commit is contained in:
@@ -1,9 +1,28 @@
|
||||
---
|
||||
services:
|
||||
backend-otelcol:
|
||||
image: otel/opentelemetry-collector-contrib
|
||||
command:
|
||||
- --config=/etc/otelcol/config.yaml
|
||||
volumes:
|
||||
- ./docker/otelcol/config.yaml:/etc/otelcol/config.yaml
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: .
|
||||
env_file: ./backend/.env
|
||||
env_file: ./server/.env
|
||||
ports:
|
||||
- 8081:8080
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- backend-otelcol
|
||||
|
||||
client-otelcol:
|
||||
image: otel/opentelemetry-collector-contrib
|
||||
command:
|
||||
- --config=/etc/otelcol/config.yaml
|
||||
ports:
|
||||
- 4317:4317
|
||||
- 4318:4318
|
||||
volumes:
|
||||
- ./docker/otelcol/config.yaml:/etc/otelcol/config.yaml
|
||||
|
||||
Reference in New Issue
Block a user