- Dockerfile 의 COPY config.toml* 제거: 실 시크릿이 이미지 레이어에 구워지는 문제 해소 - .dockerignore 신설로 빌드 컨텍스트에서도 config.toml 차단(이중 방어) - docker-compose 가 ./config.toml 을 읽기 전용 마운트 — up 전에 파일이 있어야 함 (없으면 docker 가 디렉터리를 생성해 기동 실패 — 주석·런북에 명시) - 설정 변경 반영이 리빌드 없이 restart 로 단순화 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
181 B
Plaintext
12 lines
181 B
Plaintext
# 시크릿 — 이미지 레이어에 절대 넣지 않는다(런타임 마운트/env 주입)
|
|
config.toml
|
|
config.*.toml
|
|
|
|
__pycache__/
|
|
*.pyc
|
|
.pytest_cache/
|
|
.venv/
|
|
tests/
|
|
docs/
|
|
*.md
|