docs: Add Grantech Docker info to CLAUDE.md

- Add grantech database to DB list
- Add Docker container management commands for Server2/Server3
- Add container table (grantech-frontend, grantech-backend, nextcloud)
This commit is contained in:
AutonetSellCar Deploy
2026-01-04 11:17:11 +09:00
parent 8ba68a62b2
commit 90202bee34

View File

@@ -39,6 +39,33 @@
|---------|------|------|
| `autonet` | AutonetSellCar Production | Server1 (PostgreSQL) |
| `autonet_staging` | AutonetSellCar Staging | Server1 (PostgreSQL) |
| `grantech` | Grantech 사이트 | Server1 (PostgreSQL) |
## Docker 컨테이너 관리
### Server2 (AutonetSellCar)
```bash
# 위치: /opt/autonet/staging 또는 /opt/autonet/production
docker compose -f docker-compose.staging.yml ps # 스테이징 상태
docker compose -f docker-compose.production.yml ps # 프로덕션 상태
```
### Server3 (Grantech, Nextcloud)
```bash
# Grantech (위치: /home/damon/sites/grantech)
ssh server3 "cd /home/damon/sites/grantech && docker compose ps"
ssh server3 "cd /home/damon/sites/grantech && docker compose logs -f"
ssh server3 "cd /home/damon/sites/grantech && docker compose restart"
# Nextcloud
ssh server3 "docker ps | grep nextcloud"
```
| 컨테이너 | 포트 | 설명 |
|----------|------|------|
| grantech-frontend | 3001 | Next.js (grantech.kr) |
| grantech-backend | 8001 | FastAPI (api.grantech.kr) |
| nextcloud | 8080 | Nextcloud (cloud.grantech.kr) |
> **상세 인프라 문서**: [SERVER_INFRASTRUCTURE_PLAN.md](./SERVER_INFRASTRUCTURE_PLAN.md)