Add my-docker-compose.yml
Creation
This commit is contained in:
21
my-docker-compose.yml
Normal file
21
my-docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user