Hoppa till innehåll

Installation: Beständiga data och PostgreSQL

Följ det sidspecifika arbetsflödet för Installation: Beständiga data och PostgreSQL. Den här proceduren använder DISCVAULT_POSTGRES_DATA · DISCVAULT_DATA_DIR · postgres · next-api.

Den här sidan gäller endast Installation: Beständiga data och PostgreSQL (Docker · Unraid). Kanal- och datagränserna är: DiscVault · ghcr.io/helmerznl/discvault:latest; PostgreSQL; /data; DiscVault · ghcr.io/helmerznl/discvault:beta; PostgreSQL; /data. Sidspecifika kontrollpunkter: DISCVAULT_POSTGRES_DATA · DISCVAULT_DATA_DIR · postgres · next-api.

  • DiscVault · ghcr.io/helmerznl/discvault:latest
  • PostgreSQL
  • /data
  • DiscVault · ghcr.io/helmerznl/discvault:beta
  • PostgreSQL
  • /data
  • DISCVAULT_POSTGRES_DATA
  • mål utanför den aktiva datasökvägen
  • PostgreSQL 17
  1. Kontrollera: DISCVAULT_POSTGRES_DATA · /var/lib/postgresql/data
  2. Kontrollera: DISCVAULT_DATA_DIR · /data
  3. Verifiera: postgres · healthy · next-api
  4. Anteckna: PostgreSQL-dump och filarkiv från samma stoppade skrivfönster
Terminal window
docker compose --env-file /opt/discvault/.env -p discvault -f /opt/discvault/compose.yaml ps
docker compose --env-file /opt/discvault/.env -p discvault -f /opt/discvault/compose.yaml exec -T postgres sh -c 'pg_isready -U "$POSTGRES_USER" -d "$POSTGRES_DB"'
docker inspect discvault-next-api-1 --format '{{range .Mounts}}{{.Source}} -> {{.Destination}}{{println}}{{end}}'

Godkänn resultatet för Installation: Beständiga data och PostgreSQL endast när alla resultat nedan stämmer: PostgreSQL · healthy; /data; matchande säkerhetskopieuppsättning. Sidspecifika kontrollpunkter: DISCVAULT_POSTGRES_DATA · DISCVAULT_DATA_DIR · postgres · next-api.

  • PostgreSQL · healthy
  • /data
  • matchande säkerhetskopieuppsättning

Installation: Omvänd proxy och åtkomstnycklar