You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by da...@apache.org on 2024/02/07 08:55:37 UTC

(ofbiz-tools) branch master updated: Improved: Enable ofbiz logging to the docker host's filesystem (OFBIZ-12889)

This is an automated email from the ASF dual-hosted git repository.

danwatford pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new e03403f  Improved: Enable ofbiz logging to the docker host's filesystem (OFBIZ-12889)
e03403f is described below

commit e03403f7909186fe6ca2ec0b19608236ac65ba28
Author: Daniel Watford <da...@watfordconsulting.com>
AuthorDate: Wed Feb 7 08:55:26 2024 +0000

    Improved: Enable ofbiz logging to the docker host's filesystem (OFBIZ-12889)
---
 demo-backup/ofbizdocker/home/ofbizdocker/demo-next/docker-compose.yml | 4 ++++
 .../ofbizdocker/home/ofbizdocker/demo-stable/docker-compose.yml       | 4 ++++
 .../ofbizdocker/home/ofbizdocker/demo-trunk/docker-compose.yml        | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/demo-backup/ofbizdocker/home/ofbizdocker/demo-next/docker-compose.yml b/demo-backup/ofbizdocker/home/ofbizdocker/demo-next/docker-compose.yml
index 6a4e58f..b5f2240 100644
--- a/demo-backup/ofbizdocker/home/ofbizdocker/demo-next/docker-compose.yml
+++ b/demo-backup/ofbizdocker/home/ofbizdocker/demo-next/docker-compose.yml
@@ -23,6 +23,10 @@ services:
       - 127.0.0.1:28009:8009
     volumes:
       - ./after-config-applied.d:/docker-entrypoint-hooks/after-config-applied.d
+      # Note, on Unix systems, ensure the ofbiz user (uid 1000) or group (gid 1000) running inside the container has
+      # write access to this directory on the host. If user namespace remapping is in use, the ofbiz user/group may
+      # be mapped to host uid 165536 or gid 166536 depending on the configuration in /etc/subuid and /etc/subgid.
+      - ./logs:/ofbiz/runtime/logs
     env_file:
       - ofbiz-postgres.env
     environment:
diff --git a/demo-backup/ofbizdocker/home/ofbizdocker/demo-stable/docker-compose.yml b/demo-backup/ofbizdocker/home/ofbizdocker/demo-stable/docker-compose.yml
index 003567c..d41593d 100644
--- a/demo-backup/ofbizdocker/home/ofbizdocker/demo-stable/docker-compose.yml
+++ b/demo-backup/ofbizdocker/home/ofbizdocker/demo-stable/docker-compose.yml
@@ -23,6 +23,10 @@ services:
       - 127.0.0.1:18009:8009
     volumes:
       - ./after-config-applied.d:/docker-entrypoint-hooks/after-config-applied.d
+      # Note, on Unix systems, ensure the ofbiz user (uid 1000) or group (gid 1000) running inside the container has
+      # write access to this directory on the host. If user namespace remapping is in use, the ofbiz user/group may
+      # be mapped to host uid 165536 or gid 166536 depending on the configuration in /etc/subuid and /etc/subgid.
+      - ./logs:/ofbiz/runtime/logs
     env_file:
       - ofbiz-postgres.env
     environment:
diff --git a/demo-backup/ofbizdocker/home/ofbizdocker/demo-trunk/docker-compose.yml b/demo-backup/ofbizdocker/home/ofbizdocker/demo-trunk/docker-compose.yml
index 3fb6513..9b6b657 100644
--- a/demo-backup/ofbizdocker/home/ofbizdocker/demo-trunk/docker-compose.yml
+++ b/demo-backup/ofbizdocker/home/ofbizdocker/demo-trunk/docker-compose.yml
@@ -23,6 +23,10 @@ services:
       - 127.0.0.1:8009:8009
     volumes:
       - ./after-config-applied.d:/docker-entrypoint-hooks/after-config-applied.d
+      # Note, on Unix systems, ensure the ofbiz user (uid 1000) or group (gid 1000) running inside the container has
+      # write access to this directory on the host. If user namespace remapping is in use, the ofbiz user/group may
+      # be mapped to host uid 165536 or gid 166536 depending on the configuration in /etc/subuid and /etc/subgid.
+      - ./logs:/ofbiz/runtime/logs
     env_file:
       - ofbiz-postgres.env
     environment: