Replies: 2 comments 2 replies
-
|
This works fine for me: services:
netalertx_fresh:
container_name: netalertx_fresh
image: ghcr.io/netalertx/netalertx
network_mode: "host"
privileged: true
restart: always
volumes:
- ${APP_DATA_LOCATION}/netalertx_fresh/db:/data/db
- ${APP_DATA_LOCATION}/netalertx_fresh/config:/data/config
environment:
- PUID=0
- GUID=100
- PORT=20211
- LOADED_PLUGINS=['ARPSCAN','CSVBCKP','DBCLNP', 'INTRNT','MAINT','NEWDEV','NSLOOKUP','NTFPRCS', 'AVAHISCAN', 'SETPWD','SMTP', 'SYNC', 'VNDRPDT', 'WORKFLOWS', 'UI', 'PIHOLE', 'NMAP', 'DHCPLSS']
# 🆕 New "tmpfs" section START 🔽
tmpfs:
# /tmp is required by php for session save this should be reworked to /services/run/tmp
- "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
# 🆕 New "tmpfs" section END 🔼
|
Beta Was this translation helpful? Give feedback.
-
|
If I try this one I'm gonna lose my configuration. By the way, ${APP_DATA_LOCATION} is an env variable? Where did you set it up? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just installed netalertx on Raspberry pi3 using docker compose but it didn't mount the directories on my local path.
This is the compose
services:
pialert:
container_name: netalertx
image: "ghcr.io/jokob-sk/netalertx:25.5.24"
network_mode: "host"
restart: unless-stopped
The app, config and logs directories are empty.
The application works fine (maybe a bit slow) but I don't understand what's wrong with my compose file.
Any help?
Beta Was this translation helpful? Give feedback.
All reactions