Merge pull request #282 from mboutolleau/fix/postgresql-data-location
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ services:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/
|
||||||
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql
|
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
|||||||
@@ -1039,7 +1039,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- oxicloud
|
- oxicloud
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/
|
||||||
- ./db/schema.sql:/docker-entrypoint-initdb.d/10-schema.sql
|
- ./db/schema.sql:/docker-entrypoint-initdb.d/10-schema.sql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- oxicloud
|
- oxicloud
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user