Files
NetAlertX/my-docker-compose.yml
cphipps 40b2a5b53f
Some checks failed
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Update my-docker-compose.yml
Update image link
2025-05-20 19:52:22 -04:00

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