Skip to content

Commit 4b2e433

Browse files
committed
Upgrade prod DB to progress v14
1 parent 570bfd1 commit 4b2e433

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docker-compose-prod.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ services:
5151
max-size: "100m"
5252

5353
db:
54-
image: postgres:10.23-bullseye
54+
image: postgres:14.20-bookworm
5555
restart: unless-stopped
5656
# environment:
5757
# POSTGRES_USER: postgres
5858
# POSTGRES_PASSWORD: password
59-
# persist the database between containers by storing it in a volume
6059
volumes:
61-
- fablabsio_fablabs-postgres:/var/lib/postgresql/data
60+
- postgres-14-data:/var/lib/postgresql/data
6261
networks:
6362
- internal
6463
logging:
@@ -120,8 +119,7 @@ services:
120119
max-size: "10m"
121120

122121
volumes:
123-
fablabsio_fablabs-postgres:
124-
external: true
122+
postgres-14-data:
125123

126124
networks:
127125
internal:

0 commit comments

Comments
 (0)