Here is the docker compose I use for my Netalertx setup:
services:
netalertx:
container_name: netalertx
image: "jokobsk/netalertx:latest"
network_mode: "host"
restart: unless-stopped
volumes:
- ./config:/app/config
- ./db:/app/db
- ./logs:/app/log
- type: tmpfs
target: /app/api
environment:
- TZ=America/Detroit
- PORT=20211