fix(anchoring): 이미지에 config.toml 미포함 — 런타임 마운트 전환·.dockerignore 신설

- Dockerfile 의 COPY config.toml* 제거: 실 시크릿이 이미지 레이어에 구워지는 문제 해소
- .dockerignore 신설로 빌드 컨텍스트에서도 config.toml 차단(이중 방어)
- docker-compose 가 ./config.toml 을 읽기 전용 마운트 — up 전에 파일이 있어야 함
  (없으면 docker 가 디렉터리를 생성해 기동 실패 — 주석·런북에 명시)
- 설정 변경 반영이 리빌드 없이 restart 로 단순화

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
민헌andClaude Fable 5 committed 2026-07-06 11:16:45 +09:00
1 parent 6b7526bcc3
commit ffa7dda493
3 files changed
+16 -1

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# 시크릿 — 이미지 레이어에 절대 넣지 않는다(런타임 마운트/env 주입)
config.toml
config.*.toml
__pycache__/
*.pyc
.pytest_cache/
.venv/
tests/
docs/
*.md