weblate/ci/docker-compose-postgresql.yml
renovate[bot] ee16f401b0
chore(deps): update redis:8.2.1-alpine docker digest to 987c376 (#15897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 07:29:24 +00:00

18 lines
767 B
YAML

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
services:
cache:
image: redis:8.2.1-alpine@sha256:987c376c727652f99625c7d205a1cba3cb2c53b92b0b62aade2bd48ee1593232
ports:
- 60001:6379
restart: always
database:
image: postgres:17.6-alpine@sha256:3406990b6e4c7192317b6fdc5680498744f6142f01f0287f4ee0420d8c74063c
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]