Update Postgres version to 16 in docker-compose

This commit is contained in:
Stanislas Lange 2024-04-02 03:03:55 +02:00
parent 2c45037bbf
commit 9550ccfd1c
No known key found for this signature in database

View file

@ -1,8 +1,8 @@
version: '3.8'
version: "3.8"
services:
db:
image: postgres:12.1-alpine
image: postgres:16-alpine
container_name: pleroma_db
restart: always
healthcheck:
@ -19,13 +19,10 @@ services:
container_name: pleroma_web
healthcheck:
test:
[
"CMD-SHELL",
"wget -q --spider --proxy=off localhost:4000 || exit 1",
]
["CMD-SHELL", "wget -q --spider --proxy=off localhost:4000 || exit 1"]
restart: always
ports:
- '4000:4000'
- "4000:4000"
build:
context: .
# Feel free to remove or override this section