32 lines
944 B
Markdown
32 lines
944 B
Markdown
# nexus/tooling
|
|
|
|
Internal deployment and maintenance scripts for Nexus Corp infrastructure.
|
|
|
|
## Scripts
|
|
|
|
| Script | Description |
|
|
|--------|-------------|
|
|
| `scripts/deploy.sh` | Deploy build artifacts to production |
|
|
| `scripts/rollback.sh` | Roll back to previous release |
|
|
| `scripts/health-check.sh` | Check service health endpoints |
|
|
| `scripts/db-backup.sh` | Trigger manual database backup |
|
|
| `scripts/rotate-certs.sh` | Renew and deploy TLS certificates |
|
|
|
|
## Configuration
|
|
|
|
Copy `.env.example` to `.env` and fill in your credentials.
|
|
**Never commit `.env` to version control.**
|
|
|
|
Secrets are managed via HashiCorp Vault at `https://vault.nexus.local`.
|
|
|
|
## Requirements
|
|
|
|
- bash >= 5.0
|
|
- curl, rsync, awscli v2
|
|
- Vault CLI (for secret retrieval)
|
|
|
|
## Secret management
|
|
|
|
Use the company Vault at `https://vault.nexus.local` for all secrets.
|
|
**Never commit credentials to version control.**
|
|
See `lib/vault.sh` for runtime secret retrieval.
|