Files
operationSystem-docker/logging/실행전주의사항.txt
2024-08-22 14:05:05 +09:00

20 lines
709 B
Plaintext

해당 도커는 Local, Dev 환경에서 사용하기 위한 설정
Local, Dev 환경에서 MongoDB, FluentD가 필요할경우 설치 진행
Fluentd 가 로그파일을 MongoDB로 전송하기 위해 docker-compose.yml 의 Fluentd Volume 정보를 해당 서버 경로 에 맞게 수정해줘야 한다.
docker-compose.yml 파일 실행 경로를 기준으로 로그파일 저장되어 있는 폴더를 상대 경로로 지정
예시 :
volumes:
- ./fluentd/conf:/fluentd/etc
- ../../bin/Debug/logs/archive/business:/fluentd/businesslogs
위 ./../bin/Debug/logs/archive/business: 라고 되어 있는 경로가 로그파일이 존재하는 경로
다른내용은 바꾸지 않는다.