Files
nixos-core/docs/usability.md
T
kiskaadee 52ede71f9b docs: formalize hardened architecture and operational guides
- Added docs/architecture.md: Detailed the layered Hub model and security posture.
- Added docs/usability.md: End-user guide for SSO, dashboard, and app management.
- Added docs/troubleshooting.md: Common fixes for SSL, Auth, and Connectivity.
- Updated docs/roadmap.md: Reflected completion of Phase 1 and adjusted priorities.
- Updated README.md: Integrated documentation index and architectural overview.
2026-05-13 12:38:20 -05:00

1.9 KiB
Raw Blame History

🖱️ Usability & Operational Notes

This guide explains how to interact with the Hardened Hub once it is deployed.

🔑 Authentication (SSO)

Most services are protected by Authelia.

  1. When you access a protected service (e.g., gitea.*), you will be redirected to the Auth Portal (auth.*).
  2. Log in with your credentials.
  3. Once authenticated, you will have access to all SSO-enabled services for the duration of your session.

🧭 Navigating the Hub

The Homepage dashboard is your central entry point:

  • URL: https://arch-services.mywire.org
  • Widgets: View the health of Docker containers, system resources, and quick links to all deployed applications.

🛠️ Service Management

Deployment Commands

Use the provided scripts for lifecycle management:

  • ./up.sh: Starts everything.
  • ./up.sh --infra-only: Starts only the control plane (routing, auth, monitoring).
  • ./down.sh: Stops and removes all containers gracefully.

Managing a Specific Service

To restart or view logs for a single service (e.g., Gitea):

cd apps/gitea
docker compose restart
docker compose logs -f

➕ Adding a New Application

To add a new service to the Hub:

  1. Create a directory in apps/your-app.
  2. Add a docker-compose.yml.
  3. Ensure it connects to the proxy-net network:
    networks:
      proxy-net:
        external: true
    
  4. Add Traefik labels for routing and (optional) Authelia labels for SSO.
  5. Add the service to apps/homepage/config/services.yaml to see it on the dashboard.

📦 Container Updates

  • Automated: Watchtower checks for updates every few hours.
  • Manual: Use Portainer (portainer.*) to manually pull new images and recreate containers with a single click.

📝 Logging

Real-time logs can be viewed via Dozzle at https://logs.arch-services.mywire.org. This is preferred over docker logs for quick debugging across multiple containers.