fix: add user mapping for database container.
This commit is contained in:
@@ -2,6 +2,7 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
container_name: aurora_db
|
container_name: aurora_db
|
||||||
|
user: "${UID:-1000}:${GID:-1000}"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${DB_USER}
|
- POSTGRES_USER=${DB_USER}
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
|
|||||||
Reference in New Issue
Block a user