/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v13.13.0
docker-compose.yml
79 строк
2 KB
Vadim Dvorovenko
Queue Integration Tests with Redis Cluster (#54218)
07 фев 2025, 01:32
Не верифицирован
07 фев 2025, 01:32
d30565a
Код
Авторство
О чём код?
version: '3' services: dynamodb: image: amazon/dynamodb-local:2.0.0 ports: - "8000:8000" command: ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-inMemory"] memcached: image: memcached:1.6-alpine ports: - "11211:11211" restart: always mysql: image: mysql/mysql-server:5.7 environment: MYSQL_ALLOW_EMPTY_PASSWORD: 1 MYSQL_ROOT_PASSWORD: "" MYSQL_DATABASE: "forge" MYSQL_ROOT_HOST: "%" ports: - "3306:3306" restart: always # postgres: # image: postgres:15 # environment: # POSTGRES_PASSWORD: "secret" # POSTGRES_DB: "forge" # ports: # - "5432:5432" # restart: always # mariadb: # image: mariadb:11 # environment: # MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "yes" # MARIADB_ROOT_PASSWORD: "" # MARIADB_DATABASE: "forge" # MARIADB_ROOT_HOST: "%" # ports: # - "3306:3306" # restart: always # mssql: # image: mcr.microsoft.com/mssql/server:2019-latest # environment: # ACCEPT_EULA: "Y" # SA_PASSWORD: "Forge123" # ports: # - "1433:1433" # restart: always redis: image: redis:7.0-alpine ports: - "6379:6379" restart: always # redis-cluster-0: # image: redis:7.0-alpine # ports: # - "7000:7000" # restart: always # command: redis-server --port 7000 --appendonly yes --cluster-enabled yes # redis-cluster-1: # image: redis:7.0-alpine # ports: # - "7001:7001" # restart: always # command: redis-server --port 7001 --appendonly yes --cluster-enabled yes # redis-cluster-2: # image: redis:7.0-alpine # ports: # - "7002:7002" # restart: always # command: redis-server --port 7002 --appendonly yes --cluster-enabled yes # redis-cluster-creator: # image: redis:7.0-alpine # depends_on: # - redis-cluster-0 # - redis-cluster-1 # - redis-cluster-2 # command: sh -c 'redis-cli --cluster create redis-cluster-0:7000 redis-cluster-1:7001 redis-cluster-2:7002 --cluster-replicas 0 --cluster-yes || true' # restart: no