Skip to content

Repository files navigation




💊 Project. EBKM 💊

Eat Before Knowing The Medicine







💊 INTRO

「 아들! ‘프로프라놀롤’ 효능이 뭐니? 」

프로젝트는 엄마의 한마디에서 시작되었습니다.
대한민국의 부모님께 안전하게 약을 복용해 드리고 싶은 마음에서 개발했습니다.
이제는 인터넷으로 찾지 말고 검색 한 번으로 정보를 찾으세요!

「 Son! What's the effect of propranolol? 」

The project started with my mother's words.
I developed it with the desire to take medicine safely to my parents in Korea.
Don't look it up on the Internet anymore, just search for information!



💊 Tools

🍃 Language & FrameWork

s s

🍃 Infra

Docker Jenkins AWS




💊 구성도

BE

💊 Do you want to clone this Repo?

🍃 Step 1

server.port=8080

pillUrl ="End Point"

medic.client.Encoding="Your Encoding Key"
medic.client.Decoding="Your Decoding Key"

🍃 Step 2

❗❗ 주의사항 ❗❗

다음 shell파일은 최종 배포 과정을 자동화하는 자동스크립트 파일 입니다.

🙅‍♂️ 개인 설정에 맞추어 사용해 주세요. 🙅‍♂️

❗❗ NOTICE ❗❗

The following 'shell' file is an automated script file that automates the final deployment process.

🙅‍♂️ Please use it according to your personal settings. 🙅‍♂️

deploy.sh

container_name="Container_name";
repository="Your Docker Repository name";

# 기존 컨테이너 정지 후 이미지 제거
echo "Container stop and remove";

# shellcheck disable=SC1007
container_id=$(docker ps -aqf "name= ${container}");

echo "Docker : container_id = ${container_id}";

echo "Container stop"
docker stop ${container_id}
docker rm ${container_id}

echo "Docker image remove"
docker rmi ${repository}

# jar 파일을 만들고 이미지로 만들기

echo "DockerFile start. . ."
 docker build -t ebkm:latest .
 docker run -d --name ${container_name} -p 8080:8080 ebkm:latest


echo "image push to docker hub"
docker tag ebkm ${repository}:latest
docker push ${repository}:latest

🍃 Using

Don't use deploy.sh

you should this comment

docker-compose up -d

💊 Reference


💊 더 자세한 정보는 노션에서 확인해 주세요!

                                             

🔺 Jason's Notion 으로 이동!                          🔺 Front_End Part 로 이동!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages