본문 바로가기

Prefect

[Prefect] Docker-Compose

728x90

Prefect 테스트를 위해 로컬에 docker-compose를 이용하여 구성 해 보도록 한다.

 

Github

 

GitHub - PrefectHQ/prefect: The easiest way to coordinate your dataflow

The easiest way to coordinate your dataflow. Contribute to PrefectHQ/prefect development by creating an account on GitHub.

github.com

Docker-compose

 

GitHub - fraibacas/prefect-orion

Contribute to fraibacas/prefect-orion development by creating an account on GitHub.

github.com

Requirements

  • docker
  • docker-compose
  • make
  • git

 

Install

# git clone
git clone https://github.com/fraibacas/prefect-orion

# /etc/hosts 에 아래의 내용 추가
vim /etc/hosts
127.0.0.1 prefect-server

# prefect-orion 디렉토리로 이동
cd prefect-orion

# Docker image 빌드
make docker

# 서버 시작
./prefect.sh start

# UI 확인
브라우저 http://127.0.0.1:4200/runs 입력

 

 

728x90

'Prefect' 카테고리의 다른 글

[Prefect] Server 로깅 설정  (0) 2023.12.24
[Prefect] SlackWebhook 사용법  (1) 2023.12.20
[Prefect] Blocks for Infrastructure & RemoteFileSystem  (0) 2023.05.22
[Prefect] Configuration  (0) 2023.05.22
[Prefect] Installation & Run  (0) 2023.05.22