mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
chore: change mount path to work with postgres:18
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -62,10 +62,10 @@ services:
|
||||
environment:
|
||||
- POSTGRES_URL=jdbc:postgresql://db:5432/petclinic
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:18
|
||||
restart: always
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
- db-data:/var/lib/postgresql
|
||||
environment:
|
||||
- POSTGRES_DB=petclinic
|
||||
- POSTGRES_USER=petclinic
|
||||
@@ -193,10 +193,10 @@ services:
|
||||
environment:
|
||||
- POSTGRES_URL=jdbc:postgresql://db:5432/petclinic
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:18
|
||||
restart: always
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
- db-data:/var/lib/postgresql
|
||||
environment:
|
||||
- POSTGRES_DB=petclinic
|
||||
- POSTGRES_USER=petclinic
|
||||
@@ -345,10 +345,10 @@ services:
|
||||
- action: rebuild
|
||||
path: .
|
||||
db:
|
||||
image: postgres
|
||||
image: postgres:18
|
||||
restart: always
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
- db-data:/var/lib/postgresql
|
||||
environment:
|
||||
- POSTGRES_DB=petclinic
|
||||
- POSTGRES_USER=petclinic
|
||||
|
||||
Reference in New Issue
Block a user