Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyundoh authored Oct 19, 2024
2 parents cfbcf5f + 096b485 commit 9a47d02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
pull_request:
branches: [ "develop" ]
branches: [ "develop" , "main" ]

permissions:
checks: write
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amd64/amazoncorretto:17
WORKDIR /app
COPY ./module-api/build/libs/module-api-1.0.0-SNAPSHOT.jar /app/MILE.jar
CMD ["java", "-Duser.timezone=Asia/Seoul", "-jar", "-Dspring.profiles.active=dev", "MILE.jar"]
CMD ["java", "-Duser.timezone=Asia/Seoul", "-jar", "-Dspring.profiles.active=prod", "MILE.jar"]
2 changes: 1 addition & 1 deletion module-api/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<appender-ref ref="ASYNC_DISCORD" />
</root>
</springProfile>
<springProfile name="dev">
<springProfile name="prod">
<include resource="console-appender.xml"/>
<include resource="discord-appender.xml"/>
<root level="INFO">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@Component
public class S3Service {

private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 1000L * 60 * 60 * 2; // 만료시간 2시간
private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 120L;

private final String bucketName;
private final AwsConfig awsConfig;
Expand Down

0 comments on commit 9a47d02

Please sign in to comment.