mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 03:07:05 +08:00
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.
16 lines
465 B
YAML
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
|