Change PostgreSQL volume mapping in install.sh and docker-compose.yml
Updated the pg_data volume mount point from /var/lib/postgresql/data to /var/lib/postgresql to match the user's request for both the installer script and the default docker-compose configuration. Co-authored-by: denpiligrim <89912505+denpiligrim@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ services:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
- pg_data:/var/lib/postgresql
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
|
||||
+2
-2
@@ -476,7 +476,7 @@ services:
|
||||
POSTGRES_PASSWORD: ${DB_PASS}
|
||||
POSTGRES_DB: 3dp_manager
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
- pg_data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U admin -d 3dp_manager"]
|
||||
interval: 5s
|
||||
@@ -587,7 +587,7 @@ services:
|
||||
POSTGRES_PASSWORD: ${DB_PASS}
|
||||
POSTGRES_DB: 3dp_manager
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
- pg_data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U admin -d 3dp_manager"]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user