11 draft L2

Platform Docker tatooine

OS Cible
Progression 0% 0 / 4

Contexte

Déploiement de la stack platform sur tatooine : step-ca (PKI), Traefik (reverse proxy interne), Authentik (SSO OIDC), Vaultwarden (secrets), Portainer (UI Docker), vision (dashboard).

Actions

4
  • Lancer 1 cmd
    $ Commandes
    $ task platform:docker DOCKER_HOST=tatooine
  • Trust root CA step-ca (1×, post-platform up) 1 cmd
    $ Commandes
    $ task platform:get-root-ca # CA téléchargée → ~/minfra-output/root_ca.crt # Import naboo (WSL Ubuntu) sudo cp ~/minfra-output/root_ca.crt /usr/local/share/ca-certificates/minfra-root-ca.crt sudo update-ca-certificates # Test curl https://tatooine.minfra.in/ # doit valider cert
  • Vérifier post-deploy 1 cmd
    $ Commandes
    $ ssh -o ProxyJump=root@10.0.1.1 packer@tatooine.minfra.in ' docker ps --format "table {{.Names}}\t{{.Status}}" docker exec traefik traefik healthcheck curl -sI http://localhost:9000/ # Authentik curl -sI http://localhost:8082/ # Vaultwarden '
  • Exposer un service publique (via endor Traefik externe) 2 cmd
    $ Commandes
    $ task expose NAME=vault BACKEND=https://10.0.2.10:8082 AUTH=authentik # → ajoute config Traefik endor + cert Let's Encrypt
    $ task unexpose NAME=vault