weblate/ci/docker-compose-postgresql-redis.yml
renovate[bot] b96c874843
chore(deps): update redis docker tag to v8.2.3 (#16797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 21:00:31 +00:00

36 lines
895 B
YAML

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
services:
cache:
image: redis:8.2.3-alpine@sha256:28c9c4d7596949a24b183eaaab6455f8e5d55ecbf72d02ff5e2c17fe72671d31
ports:
- 60001:6379
restart: always
database:
image: postgres:18.0-alpine@sha256:48c8ad3a7284b82be4482a52076d47d879fd6fb084a1cbfccbd551f9331b0e40
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