weblate/ci/docker-compose-postgresql.yml
renovate[bot] 53c72ca9ea
chore(deps): update valkey/valkey docker tag to v9.0.3 (#18202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-24 21:52:55 +00:00

36 lines
903 B
YAML

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
services:
cache:
image: valkey/valkey:9.0.3-alpine@sha256:ad09f25978db13ed3ed7c635a0e43118568deca056ed8f7a5020f40632e2923e
ports:
- 60001:6379
restart: always
database:
image: postgres:18.2-alpine@sha256:035b9ab53cfa147d7202b61f5f7782b939ae815b7d6bc81c96b7b42ff1fca950
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: weblate
ports:
- 60000:5432
# make postgres faster and non-durable, see https://www.postgresql.org/docs/current/non-durability.html
command:
- postgres
- -c
- fsync=off
- -c
- synchronous_commit=off
- -c
- full_page_writes=off
- -c
- checkpoint_timeout=7200
- -c
- wal_level=minimal
- -c
- max_wal_senders=0
- -c
- shared_buffers=1GB
- -c
- work_mem=150MB