Initial commit: 용산 공중케이블 주민 안전 협의회 홈페이지

- Next.js 16 App Router + TypeScript + Tailwind CSS 4
- Prisma/SQLite 기반 공지사항·자료실·관리자·문의/제보
- 네이버 블로그 RSS 최신 글 5개 노출
- OCI 운영 배포 스크립트 및 문서
This commit is contained in:
user01
2026-10-26 00:52:53 +09:00
commit 46bc36a1f5
88 changed files with 11750 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
app:
build:
context: .
target: runner
image: yonggong-web:latest
env_file:
- .env.production
environment:
NODE_ENV: production
DATABASE_URL: file:/app/data/prod.db
UPLOAD_DIR: /app/storage/uploads
PORT: "3000"
HOSTNAME: 0.0.0.0
ports:
- "3000:3000"
volumes:
- ./data:/app/data
- ./storage:/app/storage
restart: unless-stopped
# 마이그레이션/시드 전용 일회성 컨테이너
# docker compose --profile tools run --rm migrate
# docker compose --profile tools run --rm migrate npx prisma db seed
migrate:
build:
context: .
target: migrator
image: yonggong-web:migrator
profiles: ["tools"]
env_file:
- .env.production
environment:
DATABASE_URL: file:/app/data/prod.db
UPLOAD_DIR: /app/storage/uploads
volumes:
- ./data:/app/data
- ./storage:/app/storage