generated from boboko/starter
Feat: Add vector image to boboko
This commit is contained in:
+18
-8
@@ -131,14 +131,6 @@ services:
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
otel-collector:
|
||||
image: otel/opentelemetry-collector-contrib:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SIGNOZ_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT}
|
||||
volumes:
|
||||
- ./docker/otel/collector.yml:/etc/otelcol-contrib/config.yaml:ro
|
||||
|
||||
stoic:
|
||||
image: ghcr.io/lexx27/stoic:latest
|
||||
ports:
|
||||
@@ -155,6 +147,24 @@ services:
|
||||
- storage:/var/www/html/storage/app
|
||||
restart: unless-stopped
|
||||
|
||||
vector:
|
||||
image: timberio/vector:latest-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
APP_ENV: ${APP_ENV:-production}
|
||||
VICTORIALOGS_ENDPOINT: ${VICTORIALOGS_ENDPOINT:?VICTORIALOGS_ENDPOINT is required}
|
||||
VICTORIALOGS_USER: ${VICTORIALOGS_USER:?VICTORIALOGS_USER is required}
|
||||
VICTORIALOGS_PASSWORD: ${VICTORIALOGS_PASSWORD:?VICTORIALOGS_PASSWORD is required}
|
||||
VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION: "true"
|
||||
volumes:
|
||||
- ./docker/vector/vector.yaml:/etc/vector/vector.yaml:ro
|
||||
- logs:/var/www/html/storage/logs:ro
|
||||
- vector_data:/var/lib/vector
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
storage:
|
||||
|
||||
Reference in New Issue
Block a user