chore: remove vibe-coding artifacts from tracking, sync notes and obsidian config
- Untrack .claude/launch.json (Claude Code config) - Add .claude/, .mcp.json, CLAUDE.md, and AI-generated CSVs to .gitignore - Add _notes/ vault (architecture, API, tasks, bugs, infra docs) - Add .obsidian/ plugin/vault config (workspace state excluded) - Sync CHANGELOG.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
91
_notes/10 - Infrastructure/Server & Docker.md
Normal file
91
_notes/10 - Infrastructure/Server & Docker.md
Normal file
@@ -0,0 +1,91 @@
|
||||
# Server & Docker Infrastructure
|
||||
|
||||
## AWS EC2 Server
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| Host alias | `eventify` |
|
||||
| Hostname | `ec2-174-129-72-160.compute-1.amazonaws.com` |
|
||||
| User | `ubuntu` |
|
||||
| SSH Key | `~/.ssh/eventify_keys_21_03_2026.pem` |
|
||||
| Port | 22 (default) |
|
||||
|
||||
### Quick Connect
|
||||
```bash
|
||||
ssh eventify
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Docker Setup
|
||||
|
||||
All containers run on a shared Docker network: **`eventify-net`** (external, managed separately).
|
||||
|
||||
### Containers
|
||||
|
||||
| Container | Purpose | Port | Status Page |
|
||||
|-----------|---------|------|-------------|
|
||||
| Django Backend | API server | Proxied via Nginx | `uat.eventifyplus.com/api/` |
|
||||
| Server Monitor | Uptime & health | 3002 | `status.eventifyplus.com` |
|
||||
|
||||
### Docker Network
|
||||
```bash
|
||||
# The shared external network (create if missing)
|
||||
docker network create eventify-net
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Domains & URLs
|
||||
|
||||
| Domain | Purpose |
|
||||
|--------|---------|
|
||||
| `app.eventifyplus.com` | Main web app (mvnew) |
|
||||
| `admin.eventifyplus.com` | Admin command center |
|
||||
| `partner.eventifyplus.com` | Partner portal |
|
||||
| `uat.eventifyplus.com/api/` | Backend API (UAT) |
|
||||
| `prod.eventifyplus.com/api` | Backend API (Production) |
|
||||
| `status.eventifyplus.com` | Server monitoring |
|
||||
|
||||
---
|
||||
|
||||
## Common Server Commands
|
||||
|
||||
```bash
|
||||
# SSH into the server
|
||||
ssh eventify
|
||||
|
||||
# Check running containers
|
||||
docker ps
|
||||
|
||||
# View logs for a container
|
||||
docker logs <container-name> --tail 100 -f
|
||||
|
||||
# Restart a container
|
||||
docker compose restart <service>
|
||||
|
||||
# Check Docker network
|
||||
docker network ls
|
||||
docker network inspect eventify-net
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Mail / SMTP
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| Server | `mail.bshtech.net:587` |
|
||||
| From | `noreply@bshtech.net` |
|
||||
|
||||
---
|
||||
|
||||
## Notes
|
||||
- [ ] Document Nginx config and reverse proxy setup
|
||||
- [ ] Document database type and connection details
|
||||
- [ ] Document deployment/CI pipeline
|
||||
- [ ] Map which containers run which services
|
||||
|
||||
## Related
|
||||
- [[Backend - Django]]
|
||||
- [[Server Monitor]]
|
||||
Reference in New Issue
Block a user