You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shiwon Park edited this page Aug 20, 2025
·
1 revision
Containers
Ziggle backend에서 만들어지는 container는 총 2개입니다. api server를 위한 container와 학사공지 크롤링을 위한 contanier가 있습니다.
모두 github container registry에서 관리되고 있으며, 두 컨테이너는 tag 이름으로 구분됩니다. (크롤링을 위한 container는 crawler라는 키워드가 tag에 붙어있습니다.)
argocd에서 사용/관련되는 container는 총 4개입니다. api server, crawler, redis, postgres입니다. 이들중 postgres container는 인포팀의 모든 프로젝트가 사용하는 container이며, redis는 production/stagging 각각 하나씩 보유하고 있습니다.
Diagram
각 container의 관계도는 아래와 같습니다.
erDiagram
API ||--|| POSTGRES : data
API ||--|| REDIS : "cache, bull (delayed queue)"
CRAWLER ||--|| POSTGRES : data
CRAWLER ||--|| REDIS : "bull (delayed queue)"
Loading
api server와 crawler는 서로 통신하지 않는다는 것을 주의해야합니다. 이는 관리의 용이성과 구조적 안정성을 위한 조치입니다. 또한, fcm을 통한 알람을 위해서 crawler는 bull을 통해서 api server와 간접적으로 통신한다는 사실을 유의해야합니다. 이는 앞서 적어놓은 서로 통신을 하지 않기 위한 조치입니다.