mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: hdx-e2e
|
|
services:
|
|
db:
|
|
image: mongo:5.0.32-focal
|
|
command: --port 29998
|
|
ports:
|
|
- 29998:29998
|
|
networks:
|
|
- internal
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1G
|
|
cpus: '2.0'
|
|
reservations:
|
|
memory: 512M
|
|
cpus: '0.5'
|
|
ch-server:
|
|
image: clickhouse/clickhouse-server:26.1-alpine
|
|
ports:
|
|
- 8123:8123 # http api
|
|
- 9000:9000 # native
|
|
environment:
|
|
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
|
|
volumes:
|
|
- ../../../../docker/clickhouse/local/config.xml:/etc/clickhouse-server/config.xml
|
|
- ../../../../docker/clickhouse/local/users.xml:/etc/clickhouse-server/users.xml
|
|
- ../../../../docker/clickhouse/local/init-db-e2e.sh:/docker-entrypoint-initdb.d/init-db.sh
|
|
networks:
|
|
- internal
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2G
|
|
cpus: '2.0'
|
|
reservations:
|
|
memory: 512M
|
|
cpus: '0.5'
|
|
healthcheck:
|
|
test: ['CMD', 'wget', '--spider', '-q', 'http://127.0.0.1:8123/ping']
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 10
|
|
start_period: 30s
|
|
networks:
|
|
internal:
|
|
name: 'hyperdx-e2e-internal-network'
|