nas-burnin/docker-compose.yml
Brandon Walter 8ae84862de
Some checks are pending
Security scan / pip-audit (push) Waiting to run
Security scan / bandit (push) Waiting to run
Security scan / gitleaks (push) Waiting to run
Security scan / mypy (push) Waiting to run
infra: rename truenas-burnin → nas-burnin (1.0.0-41)
Matches the 1.0.0-38 product display rename. Touches every
infrastructure identifier:

- container_name: truenas-burnin → nas-burnin
- forge URL in /api/v1/updates/check
- security-scan: REPO_URL, REPO, DEPLOY_DIR, systemd unit description
- run-tests.sh default container name
- doc paths in README/SPEC/CLAUDE
- in-app instruction strings (login.html, settings.html, auth_cli.py)

Maple migration done in lockstep:
  docker compose down (truenas-burnin)
  mv ~/docker/stacks/{truenas-burnin,nas-burnin}
  systemd unit ExecStart updated + daemon-reload
  docker compose up -d --build → container nas-burnin
  Old image truenas-burnin-app removed (~12 GB reclaimed)
  Stale top-level orphans cleaned (config.py, poller.py, routes.py,
  truenas.py, tests/) — all dead since pre-split refactors

Forge repo rename (git.hellocomputer.xyz/brandon/truenas-burnin →
nas-burnin) is a separate UI-only step. Forgejo redirects the old
URL after rename, so this commit can be pushed to the existing
remote first; remote URL gets updated locally once you rename.
2026-05-04 07:16:02 -07:00

23 lines
617 B
YAML

services:
# mock-truenas is kept for local dev — not started in production
# To use mock mode: docker compose --profile mock up
# mock-truenas:
# build: ./mock-truenas
# container_name: mock-truenas
# ports:
# - "8000:8000"
# profiles: [mock]
# restart: unless-stopped
app:
build: .
container_name: nas-burnin
ports:
- "8084:8084"
env_file: .env
volumes:
- ./data:/data
- ./app/templates:/opt/app/app/templates
- ./app/static:/opt/app/app/static
- /home/brandon/.ssh/id_ed25519:/run/secrets/ssh_key:ro
restart: unless-stopped