1
0
Fork 0
website/compose.yaml
2024-04-23 20:09:11 +02:00

39 lines
1.1 KiB
YAML

name: "tlxite"
services:
web:
build: .
restart: unless-stopped
ports:
- "8080:8080"
depends_on:
- otel-collector
environment:
TLX_OTLP_ENABLED: true
TLX_LOG: debug
otel-collector:
image: otel/opentelemetry-collector:latest
restart: unless-stopped
command: ["--config=/etc/otel-collector-config.yaml", "${OTELCOL_ARGS}"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "55679:55679" # zpages extension
depends_on:
- openobserve
openobserve:
image: public.ecr.aws/zinclabs/openobserve:latest
restart: unless-stopped
environment:
ZO_ROOT_USER_EMAIL: "adrian@tollyx.net"
ZO_ROOT_USER_PASSWORD: "Planka"
ports:
- "5080:5080"
volumes:
- ./data:/data
volumes:
data: