Skip to content

Commit 2fc31f0

Browse files
committed
Infra: 운영환경 설정
- application-prod.yml 과 application.yml 동기화
1 parent 670984c commit 2fc31f0

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

docker-compose.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,6 @@ services:
2424
volumes:
2525
- mysql_data:/var/lib/mysql
2626

27-
mysql:
28-
image: mysql:8.0
29-
container_name: local-mysql
30-
restart: always
31-
environment:
32-
MYSQL_ROOT_PASSWORD: root_pass
33-
MYSQL_DATABASE: testdb
34-
MYSQL_USER: root_user
35-
MYSQL_PASSWORD: root_pass
36-
ports:
37-
- "3306:3306"
38-
volumes:
39-
- mysql_data:/var/lib/mysql
40-
4127
volumes:
4228
redis_data:
4329
mysql_data:

src/main/resources/application-prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ spring:
7373
token-uri: https://github.com/login/oauth/access_token
7474
user-info-uri: https://api.github.com/user
7575
user-name-attribute: id
76+
servlet:
77+
multipart:
78+
max-file-size: 10MB # 업로드할 수 있는 개별 파일의 최대 크기
79+
max-request-size: 10MB # 한 요청의 최대 허용 크기
7680

7781
mail:
7882
host: ${EMAIL_HOST} # Gmail SMTP 서버 (운영 환경에서는 AWS SES 등으로 변경 권장)

0 commit comments

Comments
 (0)