From 020fb34a1315d34e60d18ef9c3800d0b5139b7cb Mon Sep 17 00:00:00 2001 From: Rudolf Kastl <33659565+rudolfkastl@users.noreply.github.com> Date: Tue, 29 Apr 2025 15:32:41 +0200 Subject: [PATCH] Bind mount the postgres db volume with :z for selinux contexts This commit adds :z as bind mount options for the postgres db volume to address a deployment issues on host systems with SELinux enabled. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2008f8506..4aab60a7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -88,7 +88,7 @@ services: networks: - worklenz volumes: - - worklenz_postgres_data:/var/lib/postgresql/data + - worklenz_postgres_data:/var/lib/postgresql/data:z - type: bind source: ./worklenz-backend/database target: /docker-entrypoint-initdb.d