From 22c1eb1b2f5a79e42954b3110769abe5352a3b0c Mon Sep 17 00:00:00 2001 From: Hyomin Koo Date: Sun, 29 Sep 2024 07:14:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20`Dockerfile`=EC=97=90=20`BLACKLIST=5FVAL?= =?UTF-8?q?IDITY=5FTIME`=20=EB=B3=80=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 88fe5a9..67b9547 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,9 @@ ARG DATABASE_ADDRESS=db.gooiman.internal ARG DATABASE_USERNAME=root ARG DATABASE_PASSWORD=password ARG JWT_SECRET=9bc0a269dbe8910fa16ced43ef5d14113a120fe1ab2d9b66bbd4c9bc0a269dbe8910fa16ced43ef5d14113 -ARG JWT_TOKEN_VALIDITY_TIME=864000 +ARG JWT_TOKEN_VALIDITY_TIME=86400000 ARG KEYSTORE_PASSWORD=changeit +ARG BLACKLIST_VALIDITY_TIME=86400000 ENV spring.datasource.initialization-mode=always ENV SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE} @@ -17,6 +18,7 @@ ENV DATABASE_PASSWORD=${DATABASE_PASSWORD} ENV KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD} ENV JWT_SECRET=${JWT_SECRET} ENV JWT_TOKEN_VALIDITY_TIME=${JWT_TOKEN_VALIDITY_TIME} +ENV BLACKLIST_VALIDITY_TIME=${BLACKLIST_VALIDITY_TIME} COPY ./build/libs/gooiman-server-0.0.1-SNAPSHOT.jar /opt/application.jar