Skip to content

Commit 463d3a2

Browse files
committed
Update application.yml
1 parent 708cbfd commit 463d3a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

backend/src/main/resources/application.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ management:
3737
mail:
3838
enabled: false
3939

40+
# Docker 로그 제한
41+
services:
42+
api:
43+
image: sisc-web-back:latest
44+
logging:
45+
driver: "json-file"
46+
options:
47+
max-size: "10m" # 파일 하나당 10MB로 제한
48+
max-file: "3" # 최대 3개까지만 보관 (총 30MB 고정)
49+
4050
logging:
4151
file:
4252
name: /app/logs/application.log

0 commit comments

Comments
 (0)