From e3bc975081ae3cf85b5790d1dd01e6606431ae78 Mon Sep 17 00:00:00 2001 From: gol2580 Date: Tue, 6 Feb 2024 10:07:29 +0900 Subject: [PATCH] delete files --- Dockerfile | 20 -------------------- docker-compose.yml | 24 ------------------------ 2 files changed, 44 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 6523051..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# docker에서 받아서 쓸 base img -FROM amazoncorretto:17.0.6 -# JAR_FILE 변수설정 : .jar 파일 위치 -ARG JAR_FILE=build/libs/backend-0.0.1-SNAPSHOT.jar -# 위에서 할당한 .jar를 app.jar이름으로 copy -COPY ${JAR_FILE} app.jar -# java 실행 시 parameter -# executable : java -# param : -jar, /app.jar -ENTRYPOINT ["java", "-jar", "/app.jar"] - -# 1. Dockerfile 기반 이미지 생성 -#docker build -t gol2580/kimgreen . - -# 2. 이미지 기반 컨테이너 실행 -# docker run -d -p 8080:8080 gol2580/kimgreen - -# 3. docker hub에 push -# docker push gol2580/kimgreen -# push test \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index e4df91e..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,24 +0,0 @@ -version: '3.8' -services: - server: - image: ${DOCKER_USERNAME}/kimgreen - ports: - -8080:8080 - restart: always - environment: - DATASOURCE_URL_RDS=${DATASOURCE_URL_RDS} - DATASOURCE_USERNAME_RDS=${DATASOURCE_USERNAME_RDS} - DATASOURCE_PASSWORD_RDS=${DATASOURCE_PASSWORD_RDS} - JWT_SECRET_KEY=${JWT_SECRET_KEY} - AWS_CREDENTIALS_ACCESS_KEY=${AWS_CREDENTIALS_ACCESS_KEY} - AWS_CREDENTIALS_SECRET_KEY=${AWS_CREDENTIALS_SECRET_KEY} - AWS_REGION_STATIC=${AWS_REGION_STATIC} - AWS_S3_BUCKET=${AWS_S3_BUCKET} - FCM_URL=${FCM_URL} - TZ=Asia/Seoul - env_file: - - .env - - - -# docker run -d --name server -e TZ=Asia/Seoul -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/kimgreen \ No newline at end of file