From 1d7439833726773e16a67ef1f8b799ae8fde9c9e Mon Sep 17 00:00:00 2001 From: FlyingToto <68790909+FlyingToto@users.noreply.github.com> Date: Mon, 1 Sep 2025 22:13:02 -0400 Subject: [PATCH] adding address and uid/gid Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- docs/DOCKER_COMPOSE.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/DOCKER_COMPOSE.md b/docs/DOCKER_COMPOSE.md index 6c4203e8..5653fc33 100755 --- a/docs/DOCKER_COMPOSE.md +++ b/docs/DOCKER_COMPOSE.md @@ -148,11 +148,12 @@ services: # use the below line if you want to test the latest dev image instead of the stable release # image: "ghcr.io/jokob-sk/netalertx-dev:latest" image: "ghcr.io/jokob-sk/netalertx:latest" - network_mode: "host" + network_mode: "host" restart: unless-stopped + user: "${PUID}:${PGID}" volumes: - ${APP_FOLDER}/netalertx/config:/app/config - - ${APP_FOLDER}/netalertx/db:/app/db + - ${APP_FOLDER}/netalertx/db:/app/db # (optional) useful for debugging if you have issues setting up the container - ${APP_FOLDER}/netalertx/log:/app/log # (API: OPTION 1) default -> use for performance @@ -161,9 +162,11 @@ services: # (API: OPTION 2) use when debugging issues # - ${APP_FOLDER}/netalertx/api:/app/api environment: - - TZ=${TZ} + - TZ=${TZ} - PORT=${PORT} -``` + - PUID=${PUID} + - PGID=${PGID} + - LISTEN_ADDR=${LISTEN_ADDR} `.env` file