weblate/ci/docker-compose-postgresql.yml
2022-02-14 15:31:24 +00:00

18 lines
424 B
YAML
Vendored

version: '3'
services:
database:
image: postgres:14.2
ports:
- 60000:5432
volumes:
# make postgres faster and non-durable, see https://www.postgresql.org/docs/current/non-durability.html
- ./postgres:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: weblate
cache:
image: redis:6.2.6-alpine
restart: always
ports:
- 60001:6379