weblate/ci/docker-compose-postgresql.yml
renovate[bot] c18cd67c3b
chore(deps): update redis docker tag to v7.4.3 (#14679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-25 01:12:01 +00:00

19 lines
767 B
YAML

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
services:
database:
image: postgres:17.4-alpine@sha256:7062a2109c4b51f3c792c7ea01e83ed12ef9a980886e3b3d380a7d2e5f6ce3f5
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]
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: weblate
cache:
image: redis:7.4.3-alpine@sha256:f773b35a95e170d92dd4214a3ec4859b1b7960bf56896ae687646d695f311187
restart: always
ports:
- 60001:6379