homelab-codex-ws/scripts/deploy
oskar 686aca7060 fix(deploy-node): pass --env-file per-service so env-interpolated binds resolve (fleet-prometheus 0.0.0.0 leak)
Without --env-file, docker compose resolved variables from the repo root
(cwd), not from services/<service>/.env where the file actually lives.
This caused ${TAILSCALE_BIND_IP} to expand to empty string, binding
fleet-prometheus on 0.0.0.0:9090 instead of the Tailscale-only IP —
a security hole on the public VPS.

Guard mirrors the existing override-file pattern: only add --env-file
when the file exists, so services without .env continue to work as
before. Flag is injected into COMPOSE_CMD (before the `up` subcommand)
so docker compose sees it as a global option.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 13:41:55 +02:00
..
deploy-control-plane.sh Fix control plane SSH deploy TTY 2026-05-18 21:41:47 +02:00
deploy-frigate.sh fix: remove --pull always flag incompatible with docker-compose v1 2026-05-21 22:07:49 +02:00
deploy-host.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-node.sh fix(deploy-node): pass --env-file per-service so env-interpolated binds resolve (fleet-prometheus 0.0.0.0 leak) 2026-06-25 13:41:55 +02:00
deploy-role.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-stability-agent.sh Fix stability agent fleet deploy scripts 2026-05-17 21:09:06 +02:00
deploy.sh feat(deploy): Saturn-side dispatcher wrapper 2026-06-03 16:06:36 +02:00
orchestrate-deploy.sh fix(deploy): inventory-aware orchestration and correct override paths 2026-05-20 14:50:01 +02:00
update-all.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
verify-agent-fleet.sh Fix agent fleet verification via Redis container 2026-05-17 23:00:51 +02:00