fix(deploy): _shared 마운트 NAS 배포 실패 fix
deployer 컨테이너 안에서 docker compose 가 실행될 때 './_shared' 상대
경로가 deployer 내부 path '/runtime/_shared' 로 resolve 되어 host docker
daemon 이 mount source 를 찾지 못하는 문제. 추가로 deploy-nas.sh 의 SERVICES
화이트리스트에 _shared 미등재라 rsync sync 자체에서 빠져 host 에 디렉토리
가 생성되지 않음.
- scripts/deploy-nas.sh: SERVICES 에 _shared 추가
- docker-compose.yml: lotto volume 을 ./_shared → \${RUNTIME_PATH}/_shared 로 변경
- docs/superpowers/plans/...: Phase 2 task 11-14 의 docker-compose 패턴
동일 적용 (replace_all)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -404,7 +404,7 @@ git commit -m "feat(lotto): _shared/access_log install (Phase 1 PoC)"
|
||||
- PYTHONPATH=/app:/shared # NEW
|
||||
volumes:
|
||||
- ${RUNTIME_PATH}/data:/app/data
|
||||
- ./_shared:/shared:ro # NEW
|
||||
- ${RUNTIME_PATH}/_shared:/shared:ro # NEW
|
||||
logging: # NEW
|
||||
driver: "json-file"
|
||||
options:
|
||||
@@ -1136,7 +1136,7 @@ install_access_log(app)
|
||||
- PYTHONPATH=/app:/shared # NEW
|
||||
volumes:
|
||||
- ${RUNTIME_PATH}/data/stock:/app/data
|
||||
- ./_shared:/shared:ro # NEW
|
||||
- ${RUNTIME_PATH}/_shared:/shared:ro # NEW
|
||||
logging: # NEW
|
||||
driver: "json-file"
|
||||
options:
|
||||
@@ -1188,7 +1188,7 @@ install_access_log(app)
|
||||
- PYTHONPATH=/app:/shared
|
||||
volumes:
|
||||
...
|
||||
- ./_shared:/shared:ro
|
||||
- ${RUNTIME_PATH}/_shared:/shared:ro
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
@@ -1235,7 +1235,7 @@ install_access_log(app)
|
||||
- PYTHONPATH=/app:/shared
|
||||
volumes:
|
||||
...
|
||||
- ./_shared:/shared:ro
|
||||
- ${RUNTIME_PATH}/_shared:/shared:ro
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
@@ -1282,7 +1282,7 @@ install_access_log(app)
|
||||
- PYTHONPATH=/app:/shared
|
||||
volumes:
|
||||
...
|
||||
- ./_shared:/shared:ro
|
||||
- ${RUNTIME_PATH}/_shared:/shared:ro
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
|
||||
Reference in New Issue
Block a user