Add my-docker-compose.yml
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

Creation
This commit is contained in:
2025-05-20 19:11:02 -04:00
parent 0d7202f7a2
commit 454cd6b1aa

21
my-docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
netalertx:
container_name: netalertx
# use the below line if you want to test the latest dev image
# image: "jokobsk/netalertx-dev:latest"
image: "jokobsk/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