22 lines
755 B
YAML
22 lines
755 B
YAML
services:
|
|
netalertx:
|
|
container_name: netalertx
|
|
# use the below line if you want to test the latest dev image
|
|
# image: "jokobsk/netalertx-dev:latest"
|
|
image: "ghcr.io/jokob-sk/netalertx:latest"
|
|
network_mode: "host"
|
|
volumes:
|
|
- /opt/netalertx/config:/app/config
|
|
- /opt/netalertx/db:/app/db
|
|
# (optional) useful for debugging if you have issues setting up the container
|
|
- /opt/netalertx/logs:/app/log
|
|
# (API: OPTION 1) use for performance
|
|
# - type: tmpfs
|
|
# target: /app/api
|
|
# (API: OPTION 2) use when debugging issues
|
|
# - /opt/netalertx/api:/app/api
|
|
environment:
|
|
- TZ=America/Kentucky/Louisville
|
|
- PORT=20211
|
|
restart: unless-stopped
|