mirror of
https://github.com/dalekurt/local-llm-stack.git
synced 2026-01-28 07:40:24 +00:00
Fix PostgreSQL container permission issues by using named volume
This commit is contained in:
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- Fixed PostgreSQL container permission issues by switching from bind mount to named volume
|
||||
- Resolved "chown: /var/lib/postgresql/data: Permission denied" errors in PostgreSQL container
|
||||
|
||||
## [0.2.0] - 2025-06-06
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -123,7 +123,7 @@ services:
|
||||
- POSTGRES_PASSWORD
|
||||
- POSTGRES_DB
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
- postgres_storage:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: [ 'CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}' ]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user