Skip to content

Commit 47d550f

Browse files
committed
SELinux relabel for PG volume bind
1 parent 9a2327d commit 47d550f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
- "5432:5432"
1818
userns_mode: keep-id
1919
volumes:
20-
- ./data:/var/lib/postgresql/data
20+
- ./data:/var/lib/postgresql/data:z
2121
healthcheck:
2222
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
2323
interval: 10s

0 commit comments

Comments
 (0)