build: make frontend auth mode configurable

This commit is contained in:
2026-08-04 16:24:16 +08:00
parent 1042b48102
commit 79e2db8492
3 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ services:
- NET_RAW
frontend:
build: ./frontend
build:
context: ./frontend
args:
VITE_AUTH_ENABLED: "${VITE_AUTH_ENABLED:-false}"
container_name: pingwatch-frontend
restart: unless-stopped
environment: