Skip to content

Commit

Permalink
Merge pull request #41 from gooiman/fix/env-blacklist
Browse files Browse the repository at this point in the history
fix: `Dockerfile`에 `BLACKLIST_VALIDITY_TIME` 변수 추가
  • Loading branch information
EATSTEAK authored Sep 28, 2024
2 parents e420b53 + 22c1eb1 commit ab63c1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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

Expand Down

0 comments on commit ab63c1f

Please sign in to comment.