Update docker-compose formatting

This commit is contained in:
2026-03-08 20:12:28 +00:00
parent 9fb58a9677
commit 823a9b0d7f

View File

@@ -1,13 +1,18 @@
services:
nettrak:
container_name: NetTrak
build: .
container_name: nettrak
ports:
- "8080:8080"
volumes:
- ./data:/data
restart: unless-stopped
environment:
- NETTRAK_DB_PATH=/data/nettrak.db
- NETTRAK_SUBNET=192.168.2.0/24
# For best host discovery on Linux, uncomment host networking:
# network_mode: host
network_mode: host
ports:
- "8080:8080"
volumes:
- ./data:/data