weblate/ci/docker-compose-mariadb.yml
Michal Čihař 41b8540238 feat: support Valkey
Valkey has more friendly licensing and some nice performance benefits,
so prefer it for the deployment. It should be fully compatible with
Redis, but extend the testsuite to test both backends to keep the
compatibility in the future.
2025-10-22 13:59:16 +02:00

16 lines
465 B
YAML

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
services:
cache:
image: valkey/valkey:9.0.0-alpine@sha256:b4ee67d73e00393e712accc72cfd7003b87d0fcd63f0eba798b23251bfc9c394
ports:
- 60001:6379
restart: always
database:
image: mariadb:12.0.2@sha256:5b6a1eac15b85b981a61afb89aea2a22bf76b5f58809d05f0bcc13ab6ec44cb8
environment:
MYSQL_ROOT_PASSWORD: weblate
ports:
- 60000:3306