Skip to content

Commit 1f392aa

Browse files
authored
Merge pull request #127 from dnd-side-project/hotfix/submodules-update
submodules 업데이트 및 docker-compose 파일 수정
2 parents de10428 + 36de5f0 commit 1f392aa

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

docker-compose.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
version: '3'
22
services:
33
app:
4-
image: sudhdkso/moddo
4+
image: sudhdkso/moddo:latest
55
container_name: moddo
66
ports:
77
- "8080:8080"
8-
environment:
9-
- TZ=Asia/Seoul
10-
restart: always
8+
logging:
9+
driver: "json-file"
10+
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

Comments
 (0)