weblate/ci/docker-compose-postgresql.yml
renovate[bot] 6b73cbd89c
chore(deps): update valkey/valkey:9.0.1-alpine docker digest to c106a0c (#17441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-23 02:58:36 +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.1-alpine@sha256:c106a0c03bcb23cbdf9febe693114cb7800646b11ca8b303aee7409de005faa8
ports:
- 60001:6379
restart: always
database:
image: postgres:18.1-alpine@sha256:b40d931bd0e7ce6eecc59a5a6ac3b3c04a01e559750e73e7086b6dbd7f8bf545
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