infra.md references .env vars only, no hardcoded values
This commit is contained in:
12
.pi/infra.md
12
.pi/infra.md
@@ -1,15 +1,15 @@
|
||||
# Infrastructure Access
|
||||
# Connection details and references. Secrets live in .env (gitignored).
|
||||
# Connection details reference. All values live in `.env` (gitignored).
|
||||
|
||||
## Servers
|
||||
| Name | IP / Host | SSH User | Port | Notes |
|
||||
|------------|-------------------|----------|------|--------------|
|
||||
| primary | 159.195.60.33 | root | 22 | main server |
|
||||
| Name | Host Var | User Var | Port Var | Notes |
|
||||
|------------|----------------|----------------|----------------|--------------|
|
||||
| primary | `SSH_HOST` | `SSH_USER` | `SSH_PORT` | main server |
|
||||
|
||||
## SSH Quick Reference
|
||||
```
|
||||
ssh root@159.195.60.33
|
||||
ssh $SSH_USER@$SSH_HOST -p $SSH_PORT
|
||||
```
|
||||
|
||||
## Secrets
|
||||
All tokens, passwords, and API keys go in `.env` — never in this file.
|
||||
All values live in `.env` — never hardcode credentials in this file.
|
||||
|
||||
Reference in New Issue
Block a user