weblate/ci/docker-compose-postgresql.yml
Michal Čihař 7ca7ef866b CI: Use PostgreSQL 12 for testing
The CI image was upgraded meanwhile and we can use newer server.
2021-01-03 13:14:38 +01:00

18 lines
424 B
YAML

version: "3"
services:
database:
image: postgres:12
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:5-alpine
restart: always
ports:
- 60001:6379