adding address and uid/gid

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
FlyingToto
2025-09-01 22:13:02 -04:00
committed by GitHub
parent e8f17346ff
commit 1d74398337

View File

@@ -150,6 +150,7 @@ services:
image: "ghcr.io/jokob-sk/netalertx:latest" image: "ghcr.io/jokob-sk/netalertx:latest"
network_mode: "host" network_mode: "host"
restart: unless-stopped restart: unless-stopped
user: "${PUID}:${PGID}"
volumes: volumes:
- ${APP_FOLDER}/netalertx/config:/app/config - ${APP_FOLDER}/netalertx/config:/app/config
- ${APP_FOLDER}/netalertx/db:/app/db - ${APP_FOLDER}/netalertx/db:/app/db
@@ -163,7 +164,9 @@ services:
environment: environment:
- TZ=${TZ} - TZ=${TZ}
- PORT=${PORT} - PORT=${PORT}
``` - PUID=${PUID}
- PGID=${PGID}
- LISTEN_ADDR=${LISTEN_ADDR}
`.env` file `.env` file