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: services:
nettrak: nettrak:
container_name: NetTrak
build: . build: .
container_name: nettrak restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/data
environment: environment:
- NETTRAK_DB_PATH=/data/nettrak.db - NETTRAK_DB_PATH=/data/nettrak.db
- NETTRAK_SUBNET=192.168.2.0/24 - NETTRAK_SUBNET=192.168.2.0/24
# For best host discovery on Linux, uncomment host networking: # For best host discovery on Linux, uncomment host networking:
# network_mode: host network_mode: host
ports:
- "8080:8080"
volumes:
- ./data:/data