Active

DevOps

[Linux] 톰캣 리눅스(Linux) Profile 지정

tomcat/bin 디렉토리 setenv.sh 파일 생성 후 아래 값 작성 JAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active={profile_name}" 예시 JAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active=prod" 다중 profiles 지정 JAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active=local,prod" 참고사이트 https://jdm.kr/blog/81 https://feco.tistory.com/106

Hyo Kim
'Active' 태그의 글 목록