redis/example/otel/docker-compose.yml

83 lines
1.7 KiB
YAML
Raw Permalink Normal View History

version: '3'
2021-09-08 15:54:10 +03:00
services:
2022-10-16 11:11:54 +03:00
clickhouse:
image: clickhouse/clickhouse-server:23.7
2022-10-16 11:11:54 +03:00
restart: on-failure
environment:
CLICKHOUSE_DB: uptrace
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', 'localhost:8123/ping']
interval: 1s
timeout: 1s
retries: 30
volumes:
2023-06-18 10:25:42 +03:00
- ch_data2:/var/lib/clickhouse
2022-10-16 11:11:54 +03:00
ports:
- '8123:8123'
- '9000:9000'
postgres:
image: postgres:15-alpine
restart: on-failure
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: uptrace
POSTGRES_PASSWORD: uptrace
POSTGRES_DB: uptrace
healthcheck:
2023-06-18 10:25:42 +03:00
test: ['CMD-SHELL', 'pg_isready', '-U', 'uptrace', '-d', 'uptrace']
interval: 1s
timeout: 1s
retries: 30
volumes:
2023-06-18 10:25:42 +03:00
- 'pg_data2:/var/lib/postgresql/data/pgdata'
ports:
- '5432:5432'
2022-10-16 11:11:54 +03:00
uptrace:
image: 'uptrace/uptrace:1.6.2'
2022-10-16 11:11:54 +03:00
#image: 'uptrace/uptrace-dev:latest'
2022-10-16 12:12:35 +03:00
restart: on-failure
2022-10-16 11:11:54 +03:00
volumes:
- ./uptrace.yml:/etc/uptrace/uptrace.yml
#environment:
# - DEBUG=2
ports:
- '14317:14317'
- '14318:14318'
depends_on:
clickhouse:
condition: service_healthy
otelcol:
image: otel/opentelemetry-collector-contrib:0.91.0
2022-10-16 11:11:54 +03:00
restart: on-failure
volumes:
2022-11-09 16:16:13 +03:00
- ./config/otel-collector.yaml:/etc/otelcol-contrib/config.yaml
2022-10-16 11:11:54 +03:00
ports:
- '4317:4317'
- '4318:4318'
vector:
image: timberio/vector:0.28.X-alpine
2022-10-16 11:11:54 +03:00
volumes:
2022-11-09 16:16:13 +03:00
- ./config/vector.toml:/etc/vector/vector.toml:ro
mailhog:
image: mailhog/mailhog:v1.0.1
restart: on-failure
ports:
- '8025:8025'
2022-10-16 11:11:54 +03:00
redis-server:
image: redis
ports:
2021-09-08 15:54:10 +03:00
- '6379:6379'
redis-cli:
image: redis
2022-10-16 11:11:54 +03:00
volumes:
2023-06-18 10:25:42 +03:00
ch_data2:
pg_data2: