Skip to content

Commit eba1522

Browse files
author
=
committed
Fix volume for Postgres 18
1 parent ee5ca7c commit eba1522

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: zenstack
33
volumes:
44
postgres-data:
55

6-
76
networks:
87
workspace:
98
external: false
@@ -25,14 +24,14 @@ services:
2524
image: postgres
2625
restart: always
2726
volumes:
28-
- postgres-data:/var/lib/postgresql/data/
27+
- postgres-data:/var/lib/postgresql/
2928
env_file: ./.env
3029
networks:
3130
- workspace
3231
ports:
3332
- 5432:5432
3433
healthcheck:
35-
test: [ "CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}" ]
34+
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
3635
interval: 5s
3736
timeout: 5s
3837
retries: 5

0 commit comments

Comments
 (0)