fix: quiet installer output for non-technical users; Makefile/compose cleanup
Unit Tests / test (push) Successful in 12m18s
Unit Tests / test (push) Successful in 12m18s
The installer dumped ~200 lines of docker layer spam, a leaked apt error, and obsolete version warnings, alarming for non-technical users. install.sh: - Clean, progress-only default output; full log to /var/log/pic-install.log - Admin password still surfaced on stdout at the end - PIC_DEBUG=1 / --debug flag restores verbose output - On error, prints the last 20 lines from the log file Makefile: - start / update / start-core compose invocations get @ prefix to suppress command echo, plus --quiet-pull to kill layer-download spam docker-compose.yml + docker-compose.services.yml: - Removed obsolete `version: '3.3'` top-level key (triggers deprecation warning with current Docker Compose) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -104,7 +104,7 @@ start:
|
||||
@echo "Starting Personal Internet Cell..."
|
||||
@docker network inspect cell-network >/dev/null 2>&1 || \
|
||||
docker network create --driver bridge --subnet "$${CELL_NETWORK:-172.20.0.0/16}" cell-network
|
||||
PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build
|
||||
@PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build --quiet-pull
|
||||
@echo "Services started. Check status with 'make status'"
|
||||
|
||||
stop:
|
||||
@@ -145,7 +145,7 @@ update:
|
||||
@echo "Rebuilding and restarting services..."
|
||||
@docker network inspect cell-network >/dev/null 2>&1 || \
|
||||
docker network create --driver bridge --subnet "$${CELL_NETWORK:-172.20.0.0/16}" cell-network
|
||||
PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build
|
||||
@PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build --quiet-pull
|
||||
@echo "Update complete. Run 'make status' to verify."
|
||||
|
||||
reinstall:
|
||||
@@ -229,7 +229,7 @@ start-core:
|
||||
@echo "Starting core services (caddy, dns, wireguard, api, webui)..."
|
||||
@docker network inspect cell-network >/dev/null 2>&1 || \
|
||||
docker network create --driver bridge --subnet "$${CELL_NETWORK:-172.20.0.0/16}" cell-network
|
||||
PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build
|
||||
@PUID=$$(id -u) PGID=$$(id -g) $(DCF) --profile core up -d --build --quiet-pull
|
||||
@echo "Core services started. Run 'make start' to also bring up optional services."
|
||||
|
||||
start-dns:
|
||||
|
||||
Reference in New Issue
Block a user