Files
NetTrak/docker-compose.yml
2026-03-08 15:23:20 -05:00

20 lines
427 B
YAML

services:
nettrak:
container_name: NetTrak
build: .
restart: unless-stopped
environment:
- NETTRAK_DB_PATH=/data/nettrak.db
- NETTRAK_SUBNET=192.168.2.0/24
# For best host discovery on Linux, you can switch to host mode.
# If you do that, remove the `ports` section and ensure APP_PORT is free.
# network_mode: host
ports:
- "1337:1337"
volumes:
- ./data:/data