We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de10428 + 36de5f0 commit 1f392aaCopy full SHA for 1f392aa
docker-compose.yml
@@ -1,10 +1,21 @@
1
version: '3'
2
services:
3
app:
4
- image: sudhdkso/moddo
+ image: sudhdkso/moddo:latest
5
container_name: moddo
6
ports:
7
- "8080:8080"
8
- environment:
9
- - TZ=Asia/Seoul
10
- restart: always
+ logging:
+ driver: "json-file"
+ options:
11
+ max-size: "10m" # 최대 로그 파일 크기 설정
12
+ max-file: "3" # 보관할 로그 파일의 수
13
+ restart: always
14
+ networks:
15
+ - backend
16
+ volumes:
17
+ - ./logs:/logs # 로그 파일을 호스트 시스템의 ./logs 디렉토리로 매핑
18
+
19
+networks:
20
+ backend:
21
+ driver: bridge
src/main/resources/config
0 commit comments