mirror of
https://github.com/redis/go-redis.git
synced 2025-09-05 20:24:00 +03:00
Uptrace v2 comes with a new config file and new defaults. Also updated dependencies to the latest versions.
92 lines
2.0 KiB
YAML
92 lines
2.0 KiB
YAML
services:
|
|
clickhouse:
|
|
image: clickhouse/clickhouse-server:25.3.5
|
|
restart: on-failure
|
|
environment:
|
|
CLICKHOUSE_USER: uptrace
|
|
CLICKHOUSE_PASSWORD: uptrace
|
|
CLICKHOUSE_DB: uptrace
|
|
healthcheck:
|
|
test: ['CMD', 'wget', '--spider', '-q', 'localhost:8123/ping']
|
|
interval: 1s
|
|
timeout: 1s
|
|
retries: 30
|
|
volumes:
|
|
- ch_data:/var/lib/clickhouse
|
|
ports:
|
|
- '8123:8123'
|
|
- '9000:9000'
|
|
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
restart: on-failure
|
|
environment:
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
POSTGRES_USER: uptrace
|
|
POSTGRES_PASSWORD: uptrace
|
|
POSTGRES_DB: uptrace
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready', '-U', 'uptrace', '-d', 'uptrace']
|
|
interval: 1s
|
|
timeout: 1s
|
|
retries: 30
|
|
volumes:
|
|
- 'pg_data:/var/lib/postgresql/data/pgdata'
|
|
ports:
|
|
- '5432:5432'
|
|
|
|
uptrace:
|
|
image: 'uptrace/uptrace:2.0.0'
|
|
#image: 'uptrace/uptrace-dev:latest'
|
|
restart: on-failure
|
|
volumes:
|
|
- ./uptrace.yml:/etc/uptrace/config.yml
|
|
#environment:
|
|
# - DEBUG=2
|
|
ports:
|
|
- '14317:4317'
|
|
- '14318:80'
|
|
depends_on:
|
|
clickhouse:
|
|
condition: service_healthy
|
|
|
|
otelcol:
|
|
image: otel/opentelemetry-collector-contrib:0.123.0
|
|
restart: on-failure
|
|
volumes:
|
|
- ./config/otel-collector.yaml:/etc/otelcol-contrib/config.yaml
|
|
ports:
|
|
- '4317:4317'
|
|
- '4318:4318'
|
|
|
|
vector:
|
|
image: timberio/vector:0.28.X-alpine
|
|
volumes:
|
|
- ./config/vector.toml:/etc/vector/vector.toml:ro
|
|
|
|
mailpit:
|
|
image: axllent/mailpit
|
|
restart: always
|
|
ports:
|
|
- 1025:1025
|
|
- 8025:8025
|
|
environment:
|
|
MP_MAX_MESSAGES: 5000
|
|
MP_DATA_FILE: /data/mailpit.db
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
volumes:
|
|
- mailpit_data:/data
|
|
|
|
redis-server:
|
|
image: redis
|
|
ports:
|
|
- '6379:6379'
|
|
redis-cli:
|
|
image: redis
|
|
|
|
volumes:
|
|
ch_data:
|
|
pg_data:
|
|
mailpit_data:
|