feat(Postgres): Add configuration of PUID and PGID
This commit is contained in:
parent
9793ae506d
commit
04388d48f0
|
@ -13,6 +13,8 @@ services:
|
||||||
POSTGRES_USER: ${POSTGRES_USER:?err}
|
POSTGRES_USER: ${POSTGRES_USER:?err}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?err}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?err}
|
||||||
POSTGRES_DB: ${POSTGRES_DB:?err}
|
POSTGRES_DB: ${POSTGRES_DB:?err}
|
||||||
|
PUID: ${POSTGRES_PUID:-1000}
|
||||||
|
PGID: ${POSTGRES_PGID:-1000}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
|
Loading…
Reference in New Issue