mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
adding address and uid/gid
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user