bf2343b7e4
Integration Tests - MySQL + Elasticsearch / Detect Changes (push) Waiting to run
Integration Tests - MySQL + Elasticsearch / integration-tests-mysql-elasticsearch (push) Blocked by required conditions
Integration Tests - PostgreSQL + Elasticsearch + Redis / Detect Changes (push) Waiting to run
Integration Tests - PostgreSQL + Elasticsearch + Redis / integration-tests-postgres-elasticsearch-redis (push) Blocked by required conditions
Integration Tests - PostgreSQL + OpenSearch / Detect Changes (push) Waiting to run
Integration Tests - PostgreSQL + OpenSearch / integration-tests-postgres-opensearch (push) Blocked by required conditions
Java Checkstyle / java-checkstyle (push) Waiting to run
Maven Collate Tests / maven-collate-ci (push) Waiting to run
OpenMetadata Service Unit Tests / Detect Changes (push) Waiting to run
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests (push) Blocked by required conditions
OpenMetadata Service Unit Tests / k8s_operator-unit-tests (push) Blocked by required conditions
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests-status (push) Blocked by required conditions
Publish Package to Maven Central Repository / publish-maven-packages (push) Waiting to run
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
# Copyright 2021 Collate
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# Override that adds a Redis cache to the development stack.
|
|
# Usage:
|
|
# docker compose -f docker-compose.yml -f docker-compose.redis.yml up -d
|
|
services:
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: openmetadata_redis
|
|
restart: always
|
|
command: ["redis-server", "--appendonly", "no", "--save", "", "--maxmemory", "512mb", "--maxmemory-policy", "allkeys-lru"]
|
|
networks:
|
|
- local_app_net
|
|
ports:
|
|
- "6379:6379"
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 5
|
|
|
|
openmetadata-server:
|
|
depends_on:
|
|
redis:
|
|
condition: service_healthy
|
|
environment:
|
|
CACHE_PROVIDER: redis
|
|
CACHE_REDIS_URL: redis://redis:6379
|
|
CACHE_REDIS_AUTH_TYPE: NONE
|
|
CACHE_REDIS_KEYSPACE: om:dev
|
|
CACHE_ENTITY_TTL: 3600
|
|
CACHE_RELATIONSHIP_TTL: 3600
|
|
CACHE_TAG_TTL: 3600
|
|
CACHE_REDIS_COMMAND_TIMEOUT: 300
|