Skip to content

Commit 6fd9a33

Browse files
committed
Upgrade to postgres 10.15
We need to upgrade to Postgres 12 by mid-February. We can't go directly, we need to go via Postgres 10 - https://docs.cloud.service.gov.uk/deploying_services/postgresql/#upgrade-to-postgresql-10. Upgrade dmrunner to use postgres 10 so we can test locally. After pulling this commit, you will need to run `make data` to re-initialise the database. We need to add `POSTGRES_HOST_AUTH_METHOD` because the postgres docker container has changed to require it: docker-library/postgres#658
1 parent 9c67103 commit 6fd9a33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ volumes:
88

99
services:
1010
postgres:
11-
image: "postgres@sha256:f4603c7b8aaf418393edb8cd5e2d1abd91d686ab571302dc83f887ea4a56286b"
11+
image: "postgres:10.15@sha256:95f79893ef4d769277f7687b03bb24fe77a49ad2ec1c269f89a0cf849d6f4c7b"
1212
ports:
1313
- "5432:5432"
1414
volumes:
1515
- ./sql:/docker-entrypoint-initdb.d
1616
- postgres-data:/var/lib/postgresql/data
1717
environment:
1818
POSTGRES_USER: $USER
19+
POSTGRES_HOST_AUTH_METHOD: trust
1920

2021
elasticsearch:
2122
image: "elasticsearch:7.9.3"

0 commit comments

Comments
 (0)