-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-local.bat
More file actions
36 lines (30 loc) · 1.07 KB
/
start-local.bat
File metadata and controls
36 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
echo Starting ITZeep Backend Local Environment...
echo.
REM 환경변수 파일 로드
set ENV_FILE=.env.local
REM 이미 실행 중인 컨테이너 정리
echo Cleaning up existing containers...
docker compose -f docker-compose.local.yml --env-file %ENV_FILE% down
REM 네트워크 생성 (이미 존재할 수 있음)
echo Creating Docker network...
docker network create itzeep-network 2>nul || echo Network already exists
REM 컨테이너 빌드 및 실행
echo Building and starting containers...
docker compose -f docker-compose.local.yml --env-file %ENV_FILE% up -d --build
REM 컨테이너 상태 확인
echo.
echo Checking container status...
timeout /t 5 >nul
docker ps | findstr itzeep
echo.
echo Local environment is starting...
echo.
echo Application will be available at:
echo - API: http://localhost:8080
echo - Swagger UI: http://localhost:8080/swagger-ui.html
echo - MySQL: localhost:3306
echo - Redis: localhost:6379
echo.
echo To view logs: docker compose -f docker-compose.local.yml logs -f
echo To stop: docker compose -f docker-compose.local.yml down