Outline: change postgres owner
This commit is contained in:
@@ -64,8 +64,10 @@ services:
|
|||||||
outline_postgres:
|
outline_postgres:
|
||||||
image: postgres:16.3-bookworm
|
image: postgres:16.3-bookworm
|
||||||
container_name: outline_postgres
|
container_name: outline_postgres
|
||||||
|
user: "{{ user_create_result.uid }}:{{ user_create_result.group }}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
- "/etc/passwd:/etc/passwd:ro"
|
||||||
- "{{ postgres_data_dir }}:/var/lib/postgresql/data"
|
- "{{ postgres_data_dir }}:/var/lib/postgresql/data"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: '{{ outline_postgres_user }}'
|
POSTGRES_USER: '{{ outline_postgres_user }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user