Skip to content

Commit 46a9301

Browse files
authored
Merge pull request #167 from krsy0411/krsy0411-feat/observability/app-insights-enhancements
chore: dev container fixes and monitoring setup
2 parents a99c5f0 + 07df2a6 commit 46a9301

9 files changed

Lines changed: 1267 additions & 1332 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Vite to GitHub Pages
33
on:
44
push:
55
branches:
6-
- master
6+
- main # main 브랜치로 변경
77

88
permissions:
99
contents: write
@@ -26,6 +26,8 @@ jobs:
2626
run: npm ci
2727

2828
- name: Vite 프로젝트 빌드
29+
env:
30+
VITE_APPINSIGHTS_CONNECTION_STRING: ${{ secrets.VITE_APPINSIGHTS_CONNECTION_STRING }}
2931
run: npm run build
3032

3133
- name: GitHub Pages에 배포

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ dist
1212
dist-ssr
1313
*.local
1414

15+
# Environment variables
16+
.env
17+
.env.local
18+
.env.*.local
19+
1520
# Editor directories and files
1621
!.vscode/extensions.json
1722
.idea

docker-compose.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ services:
99
- "5173:5173"
1010
volumes:
1111
- ./:/app
12-
- /app/node_modules
12+
# 호스트에 node_modules가 없을 경우 이미지에서 설치된 종속성을
13+
# 유지하기 위해 이름 있는 볼륨을 사용합니다.
14+
- node_modules:/app/node_modules
1315
environment:
14-
- NODE_ENV=development
16+
- NODE_ENV=development
17+
18+
volumes:
19+
node_modules:
20+
name: docker-ko-node_modules

0 commit comments

Comments
 (0)