MySQL
, redis
컨테이너 실행
docker-compose up -d
.env 파일 생성
//.env
DB_NAME=<DB_NAME>
DB_PASSWORD=<PASSWORD>
REDIS_PORT=<REDIS_PORT>
DB_PORT=<DB_PORT>
환경변수 세팅
ACCESS_EXPIRED_TIME=3600000;
ACCESS_TOKEN_URL=<ACCESS_TOKEN_URL>;
ACTIVE_PROFILE=<ACTIVE_PROFILE>;
CLIENT_ID=<CLIENT_ID>;
CLIENT_SECRET=<CLIENT_SECRET>;
DB_PASSWORD=<DB_PASSWORD>;
DB_URL=jdbc:mysql://localhost:<DB_PORT>/<DB_NAME>;
DB_USERNAME=<DB_USERNAME>;
DDL_AUTO=<DDL_AUTO>;
FETCH_SIZE=<FETCH_SIZE>;
LOG_LEVEL=<LOG_LEVEL>;
REDIS_HOST=<REDIS_HOST>;
REDIS_PORT=<REDIS_PORT>;
REDIS_PASSWORD=<REDIS_PASSWORD>;
REFRESH_EXPIRED_TIME=<REFRESH_EXPIRED_TIME>;
SERVER_PORT=<SERVER_PORT>;
TOKEN_SECRET=<TOKEN_SECRET>;
USER_URL=<USER_URL>