weblate/ci/docker-compose-postgresql.yml
renovate[bot] 2d449cb927
chore(deps): update postgres docker tag to v17.6 (#15852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-14 23:27:04 +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.0-alpine@sha256:7521abdff715d396aa482183942f3fe643344287c29ccb66eee16ac08a92190f
ports:
- 60001:6379
restart: always
database:
image: postgres:17.6-alpine@sha256:d1c6961582cf35613977b26526e900395ef6d0e28ffe50a6d78c2915d3c9b664
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]