add collector to docker compose

This commit is contained in:
Simon Larsen
2023-10-09 19:21:38 +01:00
parent 591c89a320
commit ff0314ae9b
2 changed files with 18 additions and 1 deletions

View File

@@ -64,7 +64,17 @@ services:
network: host
context: .
dockerfile: ./Notification/Dockerfile
otel-collector:
extends:
file: ./docker-compose.base.yml
service: otel-collector
build:
network: host
context: .
dockerfile: ./OTelCollector/Dockerfile
accounts:
ports:
- '${ACCOUNTS_PORT}:${ACCOUNTS_PORT}' # ws port for webpack

View File

@@ -37,6 +37,13 @@ services:
extends:
file: ./docker-compose.base.yml
service: notification
otel-collector:
image: oneuptime/otel-collector:${APP_TAG}
build:
network: host
context: .
dockerfile: ./OTelCollector/Dockerfile
accounts:
image: oneuptime/accounts:${APP_TAG}