File tree Expand file tree Collapse file tree 5 files changed +22
-46
lines changed
Expand file tree Collapse file tree 5 files changed +22
-46
lines changed Original file line number Diff line number Diff line change 11services :
2- frontend :
3- build :
4- context : ./frontend/spec-trackr-app # Dockerfile이 위치한 경로
5- dockerfile : frontend.dockerfile # 사용할 Dockerfile 이름
6-
7- container_name : react_frontend # 컨테이너 이름 지정
2+ spec-trackr :
3+ build :
4+ context : ./frontend/spec-trackr-app
5+ dockerfile : sta.dockerfile
6+ ports :
7+ - " 3001:3001" # 고정 포트 매핑
8+ networks :
9+ - spec-net
810
11+ spectrackr-main :
12+ build :
13+ context : ./frontend/spectrackr-main
14+ dockerfile : main.dockerfile
915 ports :
10- - " 3002:80" # 로컬 머신의 3002 포트를 컨테이너의 80번 포트에 연결
16+ - " 3003:3003" # 고정 포트 매핑
17+ networks :
18+ - spec-net
19+ depends_on :
20+ - spec-trackr
1121
12- restart : unless-stopped # 컨테이너가 중지되었을 때 수동으로 중지하지 않은 경우 자동 재시작
22+ networks :
23+ spec-net :
24+ driver : bridge
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import React from 'react';
22import ReactDOM from 'react-dom/client' ;
33import './index.css' ;
44import App from './App' ;
5- import ComSp from "./com_sp" ;
65import "./index.css" ;
76import reportWebVitals from './reportWebVitals' ;
87import 'bootstrap/dist/css/bootstrap.min.css' ;
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ function HomePage() {
294294 transition = { { duration : 0.5 , delay : 0.2 } }
295295 >
296296 < Button
297- onClick = { ( ) => { window . location . href = "http://localhost:3000 " } }
297+ onClick = { ( ) => { window . location . href = "http://localhost:3001 " } }
298298 className = "bg-gradient-to-r from-cyan-500 to-blue-500 hover:from-cyan-600 hover:to-blue-600 text-white shadow-lg"
299299 >
300300 시작하기 < ChevronRight className = "ml-2 h-4 w-4" />
@@ -359,7 +359,7 @@ function HomePage() {
359359 </ h3 >
360360
361361 < Button
362- onClick = { ( ) => { window . location . href = "http://localhost:3000 " } }
362+ onClick = { ( ) => { window . location . href = "http://localhost:3001 " } }
363363 size = "lg"
364364 className = "mt-8 bg-gradient-to-r from-cyan-500 to-blue-500 hover:from-cyan-600 hover:to-blue-600 text-lg text-white shadow-lg"
365365 >
You can’t perform that action at this time.
0 commit comments