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
|
# Infrastructure Access
|
||||||
# Connection details and references. Secrets live in .env (gitignored).
|
# Connection details reference. All values live in `.env` (gitignored).
|
||||||
|
|
||||||
## Servers
|
## Servers
|
||||||
| Name | IP / Host | SSH User | Port | Notes |
|
| Name | Host Var | User Var | Port Var | Notes |
|
||||||
|------------|-------------------|----------|------|--------------|
|
|------------|----------------|----------------|----------------|--------------|
|
||||||
| primary | 159.195.60.33 | root | 22 | main server |
|
| primary | `SSH_HOST` | `SSH_USER` | `SSH_PORT` | main server |
|
||||||
|
|
||||||
## SSH Quick Reference
|
## SSH Quick Reference
|
||||||
```
|
```
|
||||||
ssh root@159.195.60.33
|
ssh $SSH_USER@$SSH_HOST -p $SSH_PORT
|
||||||
```
|
```
|
||||||
|
|
||||||
## Secrets
|
## 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